Can I set a class for a page so that I can style a set of pages with that class?
Solved
SP Page Builder
set class for page
Accepted answer
Marked as the solution
Paul Frankowski Senior Staff
1 year ago
· edited
Hi Dan,
Yes. Joomla allows you to put unique/custom class to each menu item, just check menu item settings: Page Display (tab) > Page Class : here

Then using custom.css you can define extra styles for selected objects.
1 more reply
Dan Bryan Asked this
1 year ago
· edited
Thanks Paul. Does that mean every page needs a menu item? I'm using category blogs, so pages won't necesarily have a menu item, is there another way of adding a class to a page, or section of a page?
Log in to reply.