CSS class in mla_caption template
-
Hello David,
Thanks for your help on my last post.
In my detail page template, for the primary image, I want to display the image title and then a paragraph break and then the description. I managed this with the following.
[mla_gallery columns=0mla_search_fields=title s=”{+page_title+}” tag=”primary” mla_caption=”{+template:({+title+})+}<p></p>{+template:({+description+}|{+caption+})+}” link=”none” size=large]
Now I want, using CSSHero, to be able to formate the title differently than the description by adding a CSS class to the title. I tried a few iterations of where to put a div tag with the class in it but failed. Can you see a way to do this? Here is my last failed attempt:
[mla_gallery columns=0mla_search_fields=title s=”{+page_title+}” tag=”primary” mla_caption=”<div class=”detail-title”>{+template:({+title+})+}</div><p></p>{+template:({+description+}|{+caption+})+}” link=”none” size=large]
Thanks again for the great tool and support,
Jeffhttps://www.ads-software.com/plugins/media-library-assistant/
- The topic ‘CSS class in mla_caption template’ is closed to new replies.