Community Forums › Forums › Design Tips and Tricks › Move secondary menu to above header
Tagged: fnavigation menu, secondary menu
This topic contains 5 replies, has 3 voices, and was last updated by colkav 4 months, 2 weeks ago.
-
AuthorPosts
-
January 2, 2013 at 12:47 pm #8986
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-
This topic was modified 4 months, 2 weeks ago by
colkav.
-
This topic was modified 4 months, 2 weeks ago by
colkav.
January 2, 2013 at 12:53 pm #8989Try this:
http://my.studiopress.com/snippets/navigation-menus/
Susan @ Graphically Designing I’d love to customize your website! I tweet!
I’ve taken up the challenge! – help me answer some of the unanswered postsJanuary 2, 2013 at 1:46 pm #9015That 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 #9095I’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/
Susan @ Graphically Designing I’d love to customize your website! I tweet!
I’ve taken up the challenge! – help me answer some of the unanswered postsJanuary 3, 2013 at 2:55 am #9132Below 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;
}
January 3, 2013 at 3:15 am #9133That worked perfectly. Thank you both so much!
Regards,
Colkav
-
This topic was modified 4 months, 2 weeks ago by
-
AuthorPosts
The topic ‘Move secondary menu to above header’ is closed to new replies.