About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Thanks for another great tutorial Sridhar. I’ve just finished using this code for the header of my own website and with a few tweaks to the stylesheet, everything worked great. I’ve been wanting to use this type of header for a while and finding your tutorial made it happen sooner rather than later.
-rd
Sridhar Katakam, Thank’s for another very very inspired tutorial. It’s great.
Can’t wait another custom header dev tutorial like this one http://goo.gl/20Iwc0
Pernando Ritonga
Should be straightforward. You can drag a Custom Menu widget in the ‘Header Right’ widget area and below that, search widget and a text widget (or a login widget via plugin).
[…] I’ve always wanted to build a website with the logo in the center flanked by navigation on both sides. I finally made it happen thanks to the excellent tutorial written by Sridhar (@srikat) Katakam. His tutorial can be found here. […]
Great article this is just what i needed! However i cant get my sec nav to line up to the right. Any suggestions?
Thanks!
Can you provide the URL of your site?
Yes, chefsavvy.com Thankyou very much
I do not see the HTML structure change per my above article. Have you added the suggested code in functions.php?
Unfortunately I will not be able to help with this further because I don’t have a copy of this theme. You might want to contact the theme provider.
Hello, I tried your suggestion and it looks like this: http://www.chefsavvy.com. The primary nav is above header and sec is below. Any suggestions? Thankyou,
Kelley
@ Kelley….. your site looks great. What did you do to fix the problem? I had the same issue. Thanks!
Hi Jennifer,
Thank you! I still need to fix the positioning of the secondary nav. What i did was added position:relative; then i added top: __ px; left: __ px; to align the way i wanted it too for both the primary nav, and the secondary nav. You will have to play around with each, sometimes it might be a negative value to align it correctly or a positive. I also made my header and footer full width. This is why the primary nav is alot bigger than the secondary nav i think. I am still in the process of fixing the secondary nav. If i come up with an easier way to do this i will post. I hope this helps you.
Kelley
Opps sorry i forgot that i fixed the secondary nav to fit the same size. I ended up having duplicate code throughout my css and when i got rid of it it helped me with the sec nav size. Sorry to be confusing
Not confusing at all…thank you so much for taking the time to help. I’m going to continue playing around with mine and hopefully I’ll get it! 🙂
What’s the URL of your site where the problem can be seen?
Hi Sridhar,
Thank you for the great tutorials. I am using Dynamik for Genesis and after I copied the suggested code to the Custom Functions field and the CSS in the Custom CSS Field; my secondary navigation is not on the same level as he primary nav and site title; the secondary nav appears right below the primary nav like this: http://bit.ly/1pooEWR
I wonder if I miss anything; any help would be greatly appreciated.
Thank you very much 🙂
same problem… also Dynamik.
ok, think I got it figured out…
Add “display: inline-block;” to the css blocks for :
.site-header .site-title
.site-header .nav-secondary
I’m sorry if this is a weird question, but I’m still learning about coding.. where exactly does the HTML output information go? Thanks!
The HTML output doesn’t go anywhere; it is just there to show you what the HTML will look like if you were to view the source on your website after making the changes.
Thanks for this awesome tutorial! I’ve been wanting to do this for awhile 🙂 My left navigation is not showing up and the logo is still not in the center. Can you tell me what I’ve done wrong? Here is a link to my test site: http://www.blogfriendsforever.com/sitefour/ Thanks so much!
1) Display for “.nav-primary” is set to none in style.css. Also position is set to fixed. Comment those out.
2) Color for “.nav-primary a” is set to white in style.css. Comment that out or delete that style rule.
Thank you so much! You’re the best 🙂
Hi there, this tutorial is working great but with one snag – my logo is not showing up at all. Any ideas? http://evolution.healthcoachdesign.com/
thanks!!
[…] In the past I wrote about achieving Primary Nav on left, Site Title or Logo in the middle and Secondary Nav on right in Genesis. […]
[…] Primary Nav on left, Site Title or Logo in the middle and Secondary Nav on right in Genesis – by Sridhar Katakam […]
hello! this works great, thanks! i have a problem however, i can’t seem to figure out how the site description could go underneath the logo 🙁
function sk_do_header() {
do_action( ‘genesis_site_title’ );
do_action( ‘genesis_site_description’ );
}
right now it goes on top of the secondary nav on the right 🙁 any help would be appreciated. thank you!
I looked at both your methods and found this one worked the best in my application. Responsively, etc. all worked fine except it has the nav first then the logo. Is there a conditional for viewport that would allow the logo first then the nav hamburger icon? when i switch it in the functions by using priorities, it makes the logo come first, then the 2 nav bars which obviously isn’t right either. thanks for any help.
theresa
Hi great tutorial, that is exactly what I was looking for.
But somehow it doesn’t work correctly for me. I got just a fresh altitude pro install and did what you said above.
You can have a look on my site here: http://demo.renzen-communications.ch/spross.com/
It is working a bit I would say, but what did I wrong? Can you help me?
As mentioned in the update near the beginning of this post, you are advised to follow http://www.sridharkatakam.com/split-navigation-menu-genesis-using-wp-nav-plus/ instead. Can you give that a try?
Hi Sridhar,
thank you for your reply!
That one works great. But not exactly what I need. Because in that tutorial one custom menu gets split. But I need primary menu on the left and the secondary menu on the right. That’s because I want the primary menu hooked under the hamburger icon like in this tutorial of you: https://sridharkatakam.com/how-to-make-navigation-be-toggled-by-a-hamburger-menu-icon-in-altitude-pro/
For sample look, look at my comment on that tutorial 😉
Is there a way to edit some code to achive the primary / logo / secondary structure with the tutorial provided by you in your reply? That would be really awesome and a big help! I updated the demo site for you 😉