XF 2.0 Apply CSS on pages

Andy.N

Well-known member
In XF 1.5, I can add the following in extra.css and then use the hor-zebra class in pages. How do I use something similar to the pagenode_container in the XF 2.0?
Code:
.pagenode_container #hor-zebra
{
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
 
To target a specific page template, instead of .template_name, use [data-template="template_name"] or .template-template_name.

So in this case, something like .template-page_view #hor-zebra should work.
 
Back
Top Bottom