WordPress.org

Ready to get started?Download WordPress

Forums

Two-Tiered Conditional Horizontal Nav Tweaks (2 posts)

  1. GWMO
    Member
    Posted 10 months ago #

    I am in the processes of converting my header menu on 2 of my sites The Grid and GWMO to Two-Tiered, conditional, horizontal navigation.

    In brief, I would like to use this nav code to make the header nav look like that on my current, static, site.

    With help from Kenneth over at the Graphene support forum, I have already already done the following:

    First, you'll want to hide the built-in menu with this CSS:

    #nav {display:none;}

    Second, install a PHP widget. (There are a few to choose from; just check the plugin repository.)

    Third, create an action widget area in header.php in graphene_before_content

    Fourth, add a PHP widget to that widget area, and copy the mix of HTML/PHP into it.

    Fifth, add the CSS to your child theme stylesheet.

    The problem is that you've already hidden anything with id="nav", so you'll want to change nav in your code to something else like mynav

    and am using a custom nav but need to remove the extra 2 nav bars at the top of The Grid and beat the nav at the top of GWMO into submission.

    Sorry to be a bother. Doing what I am able on my own and happy to repay the favor if I may.

  2. Evan Herman
    Member
    Posted 10 months ago #

    can you provide an image to pin point which navigation you don't want there any more?

Reply

You must log in to post.

About this Topic