Reputation: 76
I have a question regarding diazo theming in my plone's website.
I have 2 content types in my homepage, "Events" and "News Items". I can filter Events in the theme inspector by looking at the HTML code (div class="vevent") but News Items have no class. In fact, none of my own-created content types have a class.
How can I 'register' a class for my content types? This would allow me to manipulate my theme with diazo rules.
Thanks in advance.
Upvotes: 1
Views: 65
Reputation: 7819
If you check the unskinned Plone you'll see that the body class contains some very useful CSS classes:
current_view
current_portal_type
1rs_level_subsection
I think you can find what you need using aboves.
I suggest you to preserve those classes in the skinned theme too. They can be useful.
Upvotes: 2