Custome Style for different parent pages
I’m looking for a solution, how I can Add custom styles (css) to different pages. I know there are plugins for that, and I also know you can use
<body <?php body_class(); ?>>and then set different css for the different pages (ID).
The site I’m working on is for a customer and he should be able to choose the style while he create or edits a page. For example on the right site should be a dropdown menu or something to choose which style should be loaded.
I have 6 different parent menu items in the main navigation. Each parent page has losts of child pages. I want to load a different style for the 6 parent pages. Every child page should then have the same style like the parent page of that child.
Is there a solutuin for 1 or 2?
Thank you very much!
- The topic ‘Custome Style for different parent pages’ is closed to new replies.