CSS don't apply on HTML field

WordPress
15 March, 2022 02:19:30
fabcoo
Topics: 2
Messages: 6
Hi,

I'm currently trying to apply CSS to an html field and it doesn't seem to work, whatever method I tried to use. I can see it correctly rendered in the WYSIWYG editor, but as soon as I try to export it it just reset the style and only keeps the font-size, color, and some of the settings that are in the default settings field. I tried to change the HTML tag, even though it appeared that the span tag is listed as a supported one, but nothing changes. Can you help me on that issue?

And bonus question, does the border-radius CSS propriety is working with E2PDF? When this will be solved I'll probably need to use it on another field.

I'm working with the latest RC version of the plugin, 1.17.21

Thanks in advance
15 March, 2022 04:06:24
E2Pdf
Support
Topics: 7
Messages: 3345
Hi,

Unfortunately background color for inline elements like "span", "div" and border-radius doesn't supported yet. We are continuously working on extending support however no yet ETA when its support will be added.
We would really appreciate your feedback at WordPress.org!
15 March, 2022 04:16:50
fabcoo
Topics: 2
Messages: 6
Thanks for the answer, and don't worry you're already doing a great job with this plugin, I'll be looking for changes in next versions to update my template.

Have a good day !