Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 07h 24m 23s
Claim 50% off
Solved SP Page Builder

set class for page

Asked by Dan Bryan 1 year ago Last activity 1 year ago

Can I set a class for a page so that I can style a set of pages with that class?

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

info_2860_2025.jpg

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.