- This topic has 28 replies, 2 voices, and was last updated 3 years, 4 months ago by
Leo.
-
AuthorPosts
-
September 27, 2019 at 11:19 am #1020706
Gilles
Hello
For my sales pages, I want to keep the header of my blog.
So I disabled all elements of the page, except the header.
It works well on a desktop.
By cons, for mobiles, I chose to customize the header (with just the logo, without the text of the header, which takes up too much space).
But in this case, on the sales page, the logo doesn’t appears on mobile.
It appears well if I don’t disable the primary navigation bar … what I don’t want (I don’t want a menu on the sales page)
This is logical, because finally, the header of the blog on mobile is the primary navigation bar (with the logo and the menu).
My question: how could I only have the logo on mobile (but without the primary navigation bar, and while keeping the full header on desktop)? And without creating a specific page for mobile …
Thank you for your help
GillesSeptember 27, 2019 at 11:56 am #1020740Leo
StaffCustomer SupportHi there,
Sorry I’m a little bit confused.
So on the linked page, you want to show the logo only but without the mobile menu toggle?
Can you disable your caching plugin first?
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 27, 2019 at 1:08 pm #1020816Gilles
Hello Leo
Yes, it’s exactly that. But just for mobile devices (it is ok for destock : header is good)
I can disable caching plugin, but not for a long time…
Thank youSeptember 27, 2019 at 1:47 pm #1020842Leo
StaffCustomer SupportLiteSpeed cache is still enabled.
Can you disable it for now?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 27, 2019 at 1:50 pm #1020844Gilles
yes, it is done
September 27, 2019 at 2:14 pm #1020854Leo
StaffCustomer SupportStill activated from what I can see:
https://www.screencast.com/t/1obQF1yvCan you double check?
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 27, 2019 at 2:18 pm #1020864Gilles
I don’t understand… I deactived it… and purge caches
September 27, 2019 at 2:25 pm #1020871Leo
StaffCustomer SupportIt’s definitely still enabled from what I can tell.
Anyways, can you try removing this CSS so the logo shows?
@media (max-width: 768px) { .site-header, #site-navigation, #sticky-navigation { display: none !important; opacity: .0; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 27, 2019 at 2:28 pm #1020875Gilles
where ?
September 27, 2019 at 2:30 pm #1020879Leo
StaffCustomer SupportUnfortunately I can’t tell because of the caching plugin activated – it blocks the source of the code.
You didn’t add that CSS at all?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 27, 2019 at 2:37 pm #1020886Gilles
Ok, I will try to find
Thanks Leo
GillesSeptember 27, 2019 at 3:01 pm #1020898Leo
StaffCustomer SupportNo problem.
Let me know if you need another look π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 27, 2019 at 3:02 pm #1020899Gilles
I don’t find… but I found that on the web : https://gist.github.com/generatepress/282078076cd8631c17717d5b8640c043#file-gistfile1-txt
So it seems to be a Generate Press file … but which one ???
September 27, 2019 at 3:13 pm #1020905Leo
StaffCustomer SupportNope that’s not a file in the theme – just a snippet used to change the breakpoint.
Can you disable all plugins except GP Premium for now?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 27, 2019 at 3:16 pm #1020908Gilles
No, I can’t
That doesn’t matter
Thanks
Gilles -
AuthorPosts
- You must be logged in to reply to this topic.