- This topic has 10 replies, 3 voices, and was last updated 5 years, 4 months ago by
Tom.
-
AuthorPosts
-
December 30, 2016 at 4:25 pm #259291
BarnaB
Hi Tom,
Is there a CSS snippet to hide ALL page headers on mobile devices ? under x pixel width id should not show….
Thank you
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorDecember 30, 2016 at 8:44 pm #259331Leo
StaffCustomer SupportTry Customizer > Layout > Header and disable Mobile Header.
Let me know if this is what you are after.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 30, 2016 at 8:58 pm #259342Tom
Lead DeveloperLead DeveloperIt depends what you mean by page header? The overall site header? The page header built using the page header meta box?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 31, 2016 at 8:34 am #259421BarnaB
Yes, the page header built in page meta box. Just want to keep the menu and logo on mobile π i got that big image header on all pages but on mobile they loose meaning due to crop…
Thank you
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorDecember 31, 2016 at 10:12 am #259446Tom
Lead DeveloperLead DeveloperYou could try this:
@media (max-width: 768px) { .generate-page-header { display: none; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 1, 2017 at 9:24 am #259613BarnaB
Hi Tom,
That hid the menu too not just the header image :/
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 1, 2017 at 10:35 am #259640Tom
Lead DeveloperLead DeveloperCan you show me the page you’re working with?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 1, 2017 at 12:26 pm #259665BarnaB
Sure :
I got the mobile header enabled, but that was affected by the code too :/
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 1, 2017 at 7:24 pm #259750Tom
Lead DeveloperLead DeveloperGive this a shot:
@media (max-width: 768px) { .generate-inside-combined-content { display: none; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 2, 2017 at 1:28 am #259801BarnaB
Yep, that worked got it saved in my snippet library π
https://wpress.zone
Tutorials and tips for GeneratePress and ElementorJanuary 2, 2017 at 10:40 am #259938Tom
Lead DeveloperLead DeveloperPerfect π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.