Site logo

Archived topic

3 separate styles for 3 separate sections

3 replies · Started by JBD on September 10, 2019

Viewing posts 1–4 of 4

Hi,
I have a site that has 3 main sections (cars, bikes, vans) with about 10 pages under each section.
I'd like each section (and it's sub pages) to have their own unique style elements, specifically:
Site logo
Main menu
Footer widgets
Colours

Is there a best practice method to achieve this within GP?

Would it be best to add "Page Categories" via plugin, and then add style rules for the page categories?
or
Would it be better to create page templates with links to separate CSS files with style overrides?

All help appreciated.
James

Hi there,

- Changing the site logo would require a filter:
https://docs.generatepress.com/article/generate_logo/

- Using a plugin like these to switch out the menu would probably be the easiest:
https://wordpress.org/plugins/if-menu/
https://wordpress.org/plugins/conditional-menus/

- For different widgets, you can try this:
https://wordpress.org/plugins/content-aware-sidebars/

- Colors: We can use CSS for that.

Would it be best to add “Page Categories” via plugin, and then add style rules for the page categories.

That could work, or you could look into CPT:
https://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/

Let me know :)

No problem :)

This archived topic is closed to new replies.