I used to be able to style the excerpt content using span tag. For example, I was able to write: “A little <span style=”color:red”>red</span> colored text” and that would be displayed correctly on masonry gallery. I think after the most recent update, html tags are not displayed.
When I check it on dev tools, I can see that html tags disappear and it says “A little red colored text” instead. Is there any way to fix this so I can style excerpts again?
Hi mustafaturksavas!
Thank you for using Enfold.
The strip_tags function has been added to the masonry script because the html elements caused a lot of issues before. You can enable it back but you have to modify one of the parent theme files.
// https://kriesi.at/support/topic/html-markup-in-excerpt-has-been-lost/#post-734529
We are very sorry for the inconvenience.
Cheers!
Ismael