Style field for Text has no effect on Frontend

Hi there

I have updated X-Pro and Wordpress to the latest versions and have detected, that the style field in “Classic Text” has no effect anymore on the Frontend.

As example I have inserted in the style field for some subtitles the following code:
font-size: 30px; line-height: 1.3em;

This works fine in the wysiwyg-builder but on the website the font size or line height doesn’ show up. I have cleared the cache etc…

Any idea, what could be the problem?

Thank you very much for your help!

Howdy, @fbrugger! Thanks for writing in and sorry to hear you’re having an issue here. I’ve just fired up a Classic Text Element in my install and applied your exact code in the Style input (along with color: red; to really see the effects take place) and everything appears to be outputting as expected:

And here it is on the frontend of my site:

Is this what you’re referencing, or is there something else going on that I might have missed? Do you happen to have any custom CSS that could be conflicting here? Also, have you updated to the latest patch release? Give that a shot if you haven’t and see if that addresses anything. If the problem still persists after that, let us know and we’ll take another look into things for sure!

Hi Kory

Thank you very much for your reply. I will check again and will let you know if this works.

Thanks again for your help.

Ok, sounds good!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.