- This topic has 25 replies, 3 voices, and was last updated 3 years, 9 months ago by
Tom.
-
AuthorPosts
-
September 13, 2018 at 12:43 pm #676646
David
StaffCustomer SupportI must say that did make laugh…. a lot π Thank you. I have the same problem with the cat and the coffee.
So replace this:
@media (min-width: 768px) { .slideout-toggle { display: none; } }
With this:
@media (min-width: 768px) { .gen-sidebar-nav .sf-menu>li.slideout-toggle { display: none; } } @media (max-width: 768px) { .textwidget .slideout-toggle { display: none; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 13, 2018 at 1:01 pm #676659Nils
π
Unfortunately, that does not work. the 2nd button (the “new”) is hidden, the 1st button remains.September 13, 2018 at 1:15 pm #676674David
StaffCustomer SupportOh dear…. i just edited the code above, can you try that.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 13, 2018 at 1:34 pm #676685Nils
no change with the new code π
maybe i’m doing something wrong?[edit]
I should go to bed and try again tomorrow afternoon.
Thank you for your great support and a good night!September 14, 2018 at 2:01 am #676957David
StaffCustomer SupportHi there,
So on desktop i can see: Menu toggle in top widget. And its removed from the sidebar menu.
On mobile, its just the mobile menu.So whats not right? Let me know
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 14, 2018 at 3:20 am #677007Nils
Hi David,
first, when you’re in Berlin I like to invite you for a coffee π
The problem is that the menu-toggle in the Topbar only appears in the Desktop view. I wanted to try to hide the toggle in the topbar only in the desktop view and completely hide the toggle in the left sidebar.
I hope my english does not sound unfriendly, that’s not my favorite language and sometimes google has to help me ..
September 14, 2018 at 3:26 am #677016David
StaffCustomer SupportYou’re English is fine π Better than my German, which isn’t a lot.
OK so to be clear.
On the Desktop there should be no Toggle shown anywhere?
And on mobile i assume you want the Toggle to appear at the top?Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 14, 2018 at 3:29 am #677017Nils
π
That’s exactly how I thought soSeptember 14, 2018 at 1:05 pm #677468Tom
Lead DeveloperLead DeveloperTry replacing this:
@media (max-width: 768px) { .textwidget .slideout-toggle { display: none; } }
With this:
@media (min-width: 769px) { .textwidget .slideout-toggle { display: none; } }
Then add this:
@media (max-width: 768px) { .main-navigation .menu-toggle { display: none; } }
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentSeptember 15, 2018 at 1:19 am #677653Nils
Excellent! Many Thanks! You are the master of the universe!
I wish you and David a nice weekend πNils
September 15, 2018 at 9:15 am #677988Tom
Lead DeveloperLead Developerhaha thank you! π
Glad we could help!
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.