Community Forums › Forums › Archived Forums › Design Tips and Tricks › Putting the site logo in the main nav between two menus
Tagged: Logo, menu, navigation
- This topic has 6 replies, 3 voices, and was last updated 10 years ago by
Konspaul.
-
AuthorPosts
-
January 15, 2016 at 9:35 am #176590
Konspaul
MemberHello,
I'd like to have a site logo in the main navigation bar between two menus. Please help me with hooks and php codes.
The design that I need to achieve is here http://i.imgsafe.org/f3defbf.jpg
I would like to have a Site name and site description as it is in normal Genesis Sample theme. Also I would like to keep the header as it is.
In the main navigation bar which is under the header I would like to have one menu on the left side then the logo hook and the a second menu which is right aligned.
Is this possible?
http://i.imgsafe.org/f3defbf.jpgJanuary 15, 2016 at 10:45 am #176598Christoph
MemberHi,
the Modern Studio child theme uses that kind of layout.
http://demo.studiopress.com/modern-studio/
Just add a widget area before the header for site title and site description and you are good to go.
January 15, 2016 at 11:15 am #176601Konspaul
MemberThanks but I think this is not the right solution. Yes, the modern studio theme has similar menu structure but it is missing the header and the Site name & description.
What I need is to put three elements into the main navigation div/area/or-what-so-ever. The area would have:
1) Menu #1
2) Site Logo
3) Menu #2While there I would have to use the CSS style to put them horizontally aligned. That I can do. The problem is that I don't know which hooks to add or remove to put the site logo and menu #2 into the main navigation div.
Did I make myself anyhow clear? 🙂
January 15, 2016 at 6:38 pm #176634Christoph
MemberI understood you the first time 😉
Just add a widget area before the header for site title and site description and you are good to go.
Register a new widget area: http://my.studiopress.com/tutorials/register-widget-area/
and hook it into genesis_before_headerPlace a text widget in the new widget area with your site title, site description and image.
January 16, 2016 at 6:49 am #176676Konspaul
MemberOkey, now I understand you. You are saying that I should by the Modern Studio Pro theme and just add the new widget area there.
What if I don't want to buy the Modern Studio Pro theme and will try to build a menu structure like that in the Genesis Sample theme that I'm using at the moment. What should I do then? Supposedly I have to put actions in 'genesis_after_header' so in the div immediately after header will be filters 'genesis_do_nav', 'filter_widget_where_is_the_logo', 'filter_for_second_menu'?
January 16, 2016 at 7:09 am #176677Brad Dalton
ParticipantHere's another option http://my.studiopress.com/snippets/nav-extras/
January 17, 2016 at 9:03 am #176751Konspaul
MemberYey!
After inspecting the Modern Studio child theme code I finally started to understand how menu/logo/menu is made.
Thanks for help! 🙂
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.