• Resolved OvationsAdmin

    (@ovationsadmin)


    I apologize in advance as I know this was asked on this forum. I just can’t seem to get it to work for me. I have a very basic website that does not allow posts, comments, blogs, etc. I am only displaying static text. My navigation menu is horizontal across the top and looks something like this:

    Home Topic1 Topic2 AboutUs

    Topic1 and Topic2 both have children. The main navigation is fine and I want it to display on all pages. However I want to display a custom sidebar for Topic1 and one for Topic2. I have searched the forums, searched google, etc and found some information but nothing seems to give me exactly what I need. I cannot even recall all the changes I have made and tried.

    I am using the Graphene theme and it contains the Custom_Menu Widget. I have a child theme created called graphene-child. In that I have created two custom menus; one for Topic1 and one for Topic2. What I want to see is:
    Topic1
    child1a
    child1b
    child1c

    on all the children of Topic1 with current page highlighted and

    Topic2
    child2a
    child2b
    child2c
    on all the children of Topic2 with current page highlighted

    What I get is:
    Topic1
    child1a
    child1b
    child1c
    Topic2
    child2a
    child2b
    child2c

    on all the child pages. I am hoping someone can help me as this is driving me insane. I am pretty new to php. So if you could tell me what files to place any new code in I’d appreciate it.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • A url would help visualize things.

    Would widget logic plugin help? where you can target specific pages for specific widgets?

    Thread Starter OvationsAdmin

    (@ovationsadmin)

    Hi flashbuddy – here is the link to my “work in progress” site.

    Excuse the pdf files … I am trying to find the best way to present a static page … html within the page vs embedded pdf.

    If you select any of the main navigation I am fine — they are using the one column no sidebar template. The “children” are using two column sidebar left template.

    Thread Starter OvationsAdmin

    (@ovationsadmin)

    Ok I totally messed up that update. Here is the link:


    http://www.ovationstalent.com

    are you two sidebar menu widget, in fact, widgets? If yes, then install the widget logic plugin and use wordpress conditional statements to tell the menu widgets which pages to appear on, or what pages to not appear on.

    Google wordpress conditional statements.

    Thread Starter OvationsAdmin

    (@ovationsadmin)

    Yes they are Custom_Menu Widgets in Graphene template. I will try the plugin you mention and post my update here. Thank you flashbuddy.

    Thread Starter OvationsAdmin

    (@ovationsadmin)

    flashbuddy – You are AWESOME. Thank you. That worked.

    Now, do you know of anyway to get the current page to be highlighted in that sidebar? Right now they all look the same. I want to highlight or change the color or something.

    Edit your css. Generally, WordPress themes use the css class current-menu-item for the current page’s link. Open your theme’s style.css and add or edit the class, something like:

    .sidebar .current-menu-item ul li {
    text-decoration: underline;
    background-color: blue;
    }

    (not guaranteed to be accurate)

    Thread Starter OvationsAdmin

    (@ovationsadmin)

    Unfortunately that didn’t work. But since my first issue is resolved I will close this out. If I need more help on the current menu item color I will post another message. Thank you for your help.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘custom_menu and creating page specific sidebars’ is closed to new replies.