• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Move secondary menu to above header

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Move secondary menu to above header

This topic is: resolved

Tagged: fnavigation menu, secondary menu

  • This topic has 5 replies, 3 voices, and was last updated 10 years, 1 month ago by colkav.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 2, 2013 at 12:47 pm #8986
    colkav
    Member

    Hi,
    I've been trying to move the secondary menu above the header, to the right, on the sample theme, and retain it's style. I tried following the instructions here:

    http://journalxtra.com/easyguides/add-menu-genesis-themes-4830/

    But the resulting menu came out vertical and didn't inherit the style of the primary menu / current secondary menu...

    Is there an easy way to do this?

    The site i'm working on is here.

    Many thanks,
    colkav

    January 2, 2013 at 12:53 pm #8989
    Susan
    Moderator

    Try this:

    http://my.studiopress.com/snippets/navigation-menus/

    January 2, 2013 at 1:46 pm #9015
    colkav
    Member

    That was easy, many thanks! It would be just perfect if i could just get it to align to the right. I've tried inspecting the css and can't see any elements to do with alignment. hmm....

    January 2, 2013 at 7:43 pm #9095
    Susan
    Moderator

    I'm sure there's an easier way of doing it (but I don't know off the top of my head!), but a lot of the themes which have navigation menus above the header and aligned right use a "header right" widget area. Maybe that is something to consider.

    Take a look at the Agency theme demo here:

    http://demo.studiopress.com/agency/

    January 3, 2013 at 2:55 am #9132
    Marc
    Participant

    Below is the selector that aligns the menu items to the left or right.  It should be around line 301 in the CSS.

    .menu-primary li, .menu-secondary li, #header .menu li {
    float: left;
    list-style-type: none;
    }

    As you can see it floats all three menus to the left, so you will need to break-out the secondary menu.  You could do this by replacing that section with these two sections -

    .menu-primary li, #header .menu li {
    float: left;
    list-style-type: none;
    }

    .menu-secondary li {
    float: right;
    list-style-type: none;
    }


    Resultz Digital | Websites, search marketing services and consulting for small business.

    January 3, 2013 at 3:15 am #9133
    colkav
    Member

    That worked perfectly. Thank you both so much!

    Regards,

    Colkav

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Move secondary menu to above header’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble