Community Forums › Forums › Archived Forums › General Discussion › education theme possible top menu like magazine
- This topic has 7 replies, 2 voices, and was last updated 11 years, 2 months ago by szoumbaris.
-
AuthorPosts
-
January 9, 2013 at 12:31 pm #10730szoumbarisMember
Wondering if it's possible to have another menu bar on the education theme I"m using, exactly like the one at the top of the magazine theme? Would this be hard to implement?
Thanks in advance
January 9, 2013 at 1:31 pm #10755wpsmithMemberNot really. However, magazine takes the simple route of moving the primary navigation to the top. So without doing to much work to your site, the approach will be different for you.
The approach depends on what menus you are currently using (e.g., using both primary and secondary or just primary with secondary not registered, etc). You would need to first, register the menu and second, output the menu.
Check out this explanation.
January 9, 2013 at 1:40 pm #10758szoumbarisMemberThis is what I have now in functions.php in the education folder:
/** Reposition Primary Navigation */
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_nav' );
/** Reposition Secondary Navigation */
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_subnav' );
I don't care which nav is which as long as the two I have are: one on the top like magazine and one in the primary nav position. So can I just move the secondary nav about everything and have that work? would your method do that? Sorry, I haven't done much menu moving so need a little hand holding. thanks.
January 9, 2013 at 3:30 pm #10804szoumbarisMembercan I just reposition the secondary navigation with that command, but place it before header? If so, what would that code look like?
January 9, 2013 at 3:34 pm #10807wpsmithMemberIf you read my explanation, the code is there. For your convenience.
/** Reposition the secondary navigation */
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_before', 'genesis_do_subnav' );
January 9, 2013 at 3:57 pm #10812szoumbarisMemberI did read your code but didn't understand it till you captured the important piece that I need as an excerpt. That comes across as an attitude issue, which is very trying for the paying customer. As we struggle to move along and educate ourselves, please in the future leave out the mild jabs if possible.
By the way that worked so thanks I guess.
January 9, 2013 at 4:40 pm #10819wpsmithMemberMy apologies. Please note that I do not work for StudioPress, and I forget tone, etc., is different via forum postings. My participation and intention on these forums is to help. So please accept my apologies.
January 9, 2013 at 4:49 pm #10820szoumbarisMemberNot necessary, and I want you to know that I know how much time and effort is involved with helping others on the forums and I do appreciate your help. I was able to re position the secondary menu and also adjust the spacing and now it looks great.
At this point it may seem trivial to you to accomplish this simple task, but it took some time and effort to add this to my bag of tricks. Since I've decided to standardize on studiopress, anything I learn can be applied to the future.
Thanks again.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.