WordPress.org

Ready to get started?Download WordPress

Forums

Different menus and different feel (5 posts)

  1. magnoct
    Member
    Posted 1 year ago #

    Hi all, I have an interesting situation where I am looking to have sub sections of sites and am not sure how to achieve it.

    What I am after is essentially different menus and a different feel. Not a completely different theme but a few colours different.

    So they way it would function front end is a user might be on my site and decide to go to 'section 1' of the site. When they click the link to go there the menu changes to the section 1 menu and the page has its own distinct colours.

    I still want the site to be running off the same DB but just appear as different only in the sense of menus and colours.

    If the user clicked the link to go to 'section 2' then again the section 2 menu would be loaded and the section 2 colours would be active.

    Thanks in advance.

  2. catacaustic
    Member
    Posted 1 year ago #

    Its possible to do this by setting up different template files for each section. Then when you create the pages you can assign the template to the page so that the styling is in line with the rest of the section.

  3. magnoct
    Member
    Posted 1 year ago #

    Thanks, I had thought of this option re styling, will look into it.

    Any suggestions on the menus? Or can that be done in the template too?

  4. catacaustic
    Member
    Posted 1 year ago #

    Yes that can be done in the templates. You jsut need to set u pthis call with each menus name.

    wp_nav_menu (array ("theme_location" => "menu_name"));

  5. magnoct
    Member
    Posted 1 year ago #

    Perfect! Many thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.