- This topic has 13 replies, 4 voices, and was last updated 3 years, 10 months ago by Tom.
-
AuthorPosts
-
June 29, 2020 at 4:23 am #1345312Aaron
Hi,
How can I remove the header section globally from my website?
I don’t want to have to use the disable elements on every single page, especially when I add new pages now and again. I can’t hide it with css, because you’ve already got some !important css being applied in GeneratePress’s css.
The reason I want to hide it is so I can make a header in Elementor as I have more freedoms with Elementor. Currently Elementors overrides it but it seems to load a tiny bit after GeneratePress’ loads.
Thanks!
June 29, 2020 at 5:49 am #1345405DavidStaffCustomer SupportHi there,
if you’re using Elementors Header Template builder then this removes the GP header entirely.
But disabling the GP Header site wide can be achieved using the Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
Out of interest do you have an example of the Site Header you’re trying to create?
June 29, 2020 at 8:55 am #1345819AaronHi David,
It’s not hiding the GP header at all… I can see it under the header and if I move the header a little I can see it lots. I’ve had to make the header bigger than it should be just to hide it at the moment.
We’ve actually wanted to make lots of site headers in the past and we’ve always had to make sacrifices because GP headers are pretty limited.
Is there a way I can drop you some links privately to some of the sites where we have headers (and what we’ve done to get them more like we have wanted them?)
June 29, 2020 at 1:48 pm #1346181DavidStaffCustomer SupportCan you provide a link to the site where i can see the issue?
You can edit your original topic and use the Site URL field to share the link privately.July 3, 2020 at 8:42 am #1350763AaronHi David,
I provided a video instead as I’ve loaded a few different different sites. Another thing we often do is a “split copyright” so we have the copyright for example in the bottom left of the screen and privacy policy/terms and conditions in the bottom right.
July 3, 2020 at 8:49 am #1350778LeoStaffCustomer SupportCan you please link us to the page in question? Videos don’t really help for issues like this.
Another thing we often do is a “split copyright” so we have the copyright for example in the bottom left of the screen and privacy policy/terms and conditions in the bottom right.
Try the footer bar widget area:
https://docs.generatepress.com/article/footer-bar-widget-area/July 3, 2020 at 10:27 am #1350880Aaron@Lio,
How do they not help, they show you multiple links (look at top of screen) and explain whats what with them. (I can only provide 1 link in the edit, not 6 different websites)
> Try the footer bar widget area:
Doesn’t help because the sites already have footer widgets. I need split footer copyright + footer widgets.
July 3, 2020 at 10:35 am #1350887LeoStaffCustomer SupportWe know for sure that the option David suggested absolutely works to remove GP’s header globally.
Can you edit the original topic and remove the YouTube link and add it a site URL where the issue can be seen?
July 6, 2020 at 3:24 am #1353603AaronHi Leo,
I already said: (I can only provide 1 link in the edit, not 6 different websites)
That’s why a video is better. (Other than the obvious me showing you exactly what we are trying to acheive)
July 6, 2020 at 4:22 am #1353660DavidStaffCustomer SupportI am looking at the first site in your video.
I see a GP Site Header followed by a page fully constructed in Elementor.What exactly is the issue here ? I cannot see an Elementor Header as well as the GP header being displayed.
July 6, 2020 at 2:23 pm #1354447AaronThat’s pretty weird… It was visible in the HTML, I added some CSS to hide it but… it’s gone now. I could see 2 the other day for ages…
The footer issue on the website starting with mac….. is still there.
July 6, 2020 at 4:38 pm #1354539TomLead DeveloperLead DeveloperHi there,
I’m also seeing a standard GeneratePress site header with our navigation and sticky navigation on the first site. Are you wanting to remove this header as it’s seen right now and replace it with an Elementor header?
As for the footer widget issue, can you make sure the Footer Widgets metabox on that page (or through a Layout Element) isn’t overriding the option in the Customizer? Those two methods (on-page metabox and Layout Element) will both override the Customizer.
Let me know 🙂
July 7, 2020 at 2:28 pm #1355779AaronHi Tom,
So earlier I couldn’t see that header, yet I can again now… nothing has been changed. Yes we want to remove that header globally because we’ve replaced it with an Elementor one due to the limitations of GeneratePress’ header.
As for the footer issue, Yes! It was the Footer Widgets option. I am not sure why every page is by default choosing 4 widgets.
Is there a way to force update all pages/posts meta to just 3 or better yet, to Default?
July 7, 2020 at 3:10 pm #1355815TomLead DeveloperLead DeveloperYou could try this:
add_filter( 'generate_footer_widgets', function( $widgets ) { if ( '4' == $widgets ) { $widgets = '3'; } return $widgets; } );
As for the header, using a Layout Element to disable the site header will work. It uses a function to completely remove the GP HTML.
-
AuthorPosts
- You must be logged in to reply to this topic.