Archived topic
Help with header and nav positioning
4 replies · Started by Chris on September 5, 2017
I built this site a couple of years ago using X Theme and revolution slider. Both softwares have become to bloated and code heavy to use any longer.
Can you please tell me what settings I need to use to get the header and navigation working and looking the same at the site above on this site? It's the first time I'm trying to use a page header and I'm not quite sure how to get the same effect.
http://postmonroe.giantishere.com/
Thanks a ton! I have about 15 more site rebuilds to do to start moving sites from the old software to the new.
CDS
Instead of using Page Header to add your slider, I would use the Inside Header Content hook in GP Hooks.
That way it will display above the navigation on all pages.
As for the navigation, are you looking to add the blue border on hover?
For the nav, I'm mostly looking to see if we can have it be active when scrolling down the page like the sample site.
I'll try the GP hooks. That's a super cool feature by the way. Just starting to get into it.
Is there a way to tell gp_hooks to only display on the landing/home page?
Yup do this with Execute PHP checked:
<?php if ( is_front_page() ) : ?>
slider shortcode here
<?php endif; ?>
Here are all the conditional tags you can use: https://codex.wordpress.org/Conditional_Tags