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.
Aha. I saw someone in SP forum asked this question but couldn’t find the time to dig the code. Hopefully that person will find this article.
Yes. I looked into this after reading his post.
I’ve replied in this topic. http://www.studiopress.com/forums/topic/minimum-pro-move-primary-nav-below-header/#post-79178
This was AWESOME!!! Thanks.
Hey Sridhar,
Do you have a tutorial like this for the Agency Pro theme? Basically I would like the primary navigation menu to be at the very top aligned to the left. And a logo image to be below this aligned to the right. So I figured this could be achieved by moving the primary navigation menu above the header, and using the header image in the header as the logo….Do you have any advice of how to do this? Thanks.
Sridhar,
Thanks as always for the tutorials. I’m having issues moving the primary nav below the tagline as the tutorial instructs because I have also replaced the background image with the responsive slider – http://www.sridharkatakam.com/how-to-replace-background-image-in-minimum-pro-with-responsive-slider/
Any idea how to update it so the nav sits on top of the slider?
Thanks!
Chris
http://www.sridharkatakam.com/moving-primary-navigation-tagline-header-minimum-pro/#addendum1
Hi Sridhar! I am trying to do this in Centric Pro and having a heck of a time. Any thoughts? I would be thrilled if you had an answer. The site is http://bliss.andreaboring.com. As you can see, I have used one of your other tutorials, adding the parallax effect for the background image. Not sure if that makes a difference… THANK YOU!
Try adding the following in Centric Pro’s functions.php:
//* Reposition the primary navigation menu
remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
add_action( ‘genesis_after_header’, ‘genesis_do_nav’, 1 );
Nada. Nothing. I am thinking it is because I used the parallax effect for the background image? I even tried to move the margin in CSS but that didn’t work either. Any other ideas my dear?
There is this function for home-widget-1
function centric_home_featured_widget() {
genesis_widget_area( ‘home-widgets-1’, array(
‘before’ => ”,
‘after’ => ”,
) );
}
Perhaps something similar for the primary nav? I just have no clue how to do it and you are the first person I always turn to in time of need 😉
If you would like me to look inside and troubleshoot, send me your WP and FTP logins via http://www.sridharkatakam.com/contact/
Fixed.
The problem was
1) single quotes in the code you pasted became fancy ones
2) presence of caching plugin and its folders in wp-content.
Always keep caching plugins inactive when making these kind of changes to the site.
Personally I don’t use any at all.
THANK YOU! You were probably cringing at my code. Everybody has to learn, right 🙂 Thanks for the tip on the caching plugins. I was having problems with changes not showing immediately on the sites if I didn’t use it, which was becoming annoying.
You are the best!
This is a test site I’m working on. I moved the primary nav and set it to ‘fixed’ so it wouldn’t scroll. But now the responsiveness is ‘off.’ Can you tell me what I need to do to get the placement I want …plus the responsive behavior?
Sridhar, I actually tried your solution after fiddling with adding a custom menu in the ‘Header Right’ widget area. I’ve placed it there again for your review. It may be easier for me to get this one responsive for smaller sized devices. Any suggestions?
Your edits have been very helpful as we customize a Minimum Pro theme.
Questions:
– How can we fix the position of the primary navigation bar once we’ve positioned it below the header and above the main image?
– How can we change the background color of the primary nav bar to white and the the font of the menu items to gray (leaving hover color blue)?
– Can we reduce the home page static image size, so that it does not push all our text “below the fold”, but still keep it mobile-friendly?
Thanks!
Hi,
I enjoy your posts! Thank you for sharing! I am knew to WP and am having a hard time getting the hang of it.
I used your post about a responsive slider in Minimum to add that. I am now using this post to place the primary nav below that slider. I am confused by your CSS instructions. I have the following code in CSS even after the responsive slider mod:
.minimum .site-tagline {
margin-top: 600px;
}
This is what your instructions indicate it should be:
.minimum .site-tagline {
margin-top: 0;
}
I reviewed your slider post again to see if I was missing something, but what I found was:
.home .site-tagline {
margin-top: 0;
}
Am I missing something?
Thanks!
I have corrected this post.
It should be http://d.pr/i/12iJR.
Hi Sridhar,
I am trying to do this but the primary nav is showing below the background image? Please help.
Check this – http://test.mysexclinic.com/
I am also having the same issue, of the primary nav showing below the background image (with a large area of white space).
If I don’t follow these instructions, then I have the primary menu only on the front page, but it doesn’t show up on other pages/posts.
http://www.jackihayes.com
Looks like you want to use a static responsive image in place of the fixed background image AND show primary nav immediately below the header.
If so, follow these steps:
1) Implement the steps in this updated tutorial except Step 3: https://sridharkatakam.com/setting-responsive-image-place-background-minimum-pro/
2) Implement the steps in this tutorial (before Addendum 1 section)
3) In functions.php, change
add_action( 'genesis_after_header', 'minimum_site_tagline' );
to
add_action( 'genesis_after_header', 'minimum_site_tagline', 15 );
4) Add this in style.css: http://pastie.org/pastes/10549430/text
to get http://d.pr/i/1bmdM
Hi Sri,
How would you implement the primary menu move in a plugin?
I have tried the following, but it doesn’t remove the primary menu in the original position after the header:
function my_remove_primary_menu(){
remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
}
add_action(genesis_after_header,’my_remove_primary_menu’);
add_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
Try this: http://pastebin.com/raw/hBZsM8cX
Thanks, Sri 🙂
Using the genesis_header hook solved it. I need a holiday 😉