Hi, I’m having an issue with the rendering of a user input rich text box.
As you can see in the image below, when I edit the text in the input box, I’m setting what looks like a title and subtitle (the html is saved as
and
), but when I render this out, the theme of my site is making it look significantly different.
*** This is because my theme fonts are wildly different to those in the rich text input box ***
So, my question is, how can I manage this? I need to either:
- add to, or edit the text formatting on my site theme - is that possible?
- edit the css of my page, to manually override the theme text styles
- edit my saved html on submit, so that it renders more sensibly - maybe changing
to
and
to
using a string.replace(old, new)
Any suggestions or help on this? Thanks in advance.