On my website I would like to use a content spoiler plugin that I found on JED. My website is on J51_Maya.
This is the spoiler code that I have to add to the article:
{spoiler}Add text here{/spoiler}
As soon as I add the spoiler code to an article, the font settings that are defined in the template are no longer respected. Example:
The settings for Template J51_Maya > Typography Styling are:
«Body Font Size» = «Large»
«Body font» = «Open Sans»
This works fine for articles that do not contain a spoiler.
On the other hand, articles that contain a spoiler have a different typography styling:
«Body Font Size» = «14px»
«Body font» = «Helvetica Neue", Helvetica, Arial, sans-serif»
In other words:
Instead of using Inline:22 the stylesheet nexus.css:231 is applied.
The issue seems to be template-related.
I tried with J51_Layla, which is a pretty new template.
With J51_Layla the spoiler plugin works as expected.
Thank you and kind regards
Chris