- This topic has 4 replies, 3 voices, and was last updated 4 years, 4 months ago by David.
-
AuthorPosts
-
December 9, 2019 at 2:29 pm #1099213Mary
I’m calling it a bug cause it’s bugging me.
I’ve set a header in elements to display a responsive css Logo in the header area.
The CSS Logo header is working great BUT:The header is displaying BELOW the menu. It is not displaying ABOVE the menu.
The Menu Location is set to display Below Header (Customize – Layout – Primary Navigation – Menu Location – Below Menu)
In the Edit Element page the Site Header is set to have the Navigation Location – Below the Header and No Merge with the Content.
When I use the NetScape inspector it calls the DIV Class the “inside-page-hero” but in the Elements Page the Type displays as a Header.Also the Header is set to display site wide BUT it does not display on the Blog page.
I have searched the documents, and the forum.
I am using the latest premium GP plugin and theme.
What am I missing? I’d love a clue.Sorry it has a coming soon plug-in because it’s the development site. If you send me an email address I could set you up as a subscriber so you can see it.
December 9, 2019 at 4:28 pm #1099299LeoStaffCustomer SupportHi there,
You can use support@generatepress.com as the e-mail address so we can see the issue.
Thanks!
December 10, 2019 at 8:08 pm #1100510LeoStaffCustomer SupportSo if I understand currently, you want the header element to be below the primary navigation?
If so there is currently no option for that but you can use this PHP snippet:
https://generatepress.com/forums/topic/page-header-image-above-menu/#post-288568Also the Header is set to display site wide BUT it does not display on the Blog page.
I’m guessing your front page is not the blog page? If so try adding Blog under the display rules.
This is determined by WordPress conditional tag and there isn’t too much we can do about it:
https://codex.wordpress.org/Conditional_TagsLet me know if this helps or not 🙂
December 11, 2019 at 7:22 am #1101118MaryNo I want the header element to be above the primary navigation. I have placed the Header html and CSS in Elements so that it is responsive. But it is displaying under the Primary Nav even though I have specified (in all the places I can find – and BTW what takes precedence?)
Here are screen caps: https://imgur.com/a/fptiYJH
The bar with the coloured squares should be on top of the navigation.
December 11, 2019 at 8:03 am #1101162DavidStaffCustomer SupportHi there,
Header Elements naming can be a little confusing. The default layout is Site Header > Nav ( if set below Header > Header Element.
To move the Nav below the Header requires a little PHP Snippet:
add_action( 'after_setup_theme','craig_move_navigation' ); function craig_move_navigation() { remove_action( 'generate_after_header', 'generate_add_navigation_after_header', 5 ); add_action( 'generate_after_header', 'generate_add_navigation_after_header', 15 ); }
-
AuthorPosts
- You must be logged in to reply to this topic.