A Andy.N Well-known member Dec 20, 2017 #1 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; }
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; }
Mike XenForo developer Staff member Dec 20, 2017 #2 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. Upvote 0 Downvote
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.