- This topic has 6 replies, 3 voices, and was last updated 6 years, 6 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
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.
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.jpg
Thanks 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 #2
While 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? 🙂
I 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_header
Place a text widget in the new widget area with your site title, site description and image.
Okey, 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'?
After inspecting the Modern Studio child theme code I finally started to understand how menu/logo/menu is made.
Thanks for help! 🙂
© 2022 WPEngine, Inc.