- This topic has 28 replies, 4 voices, and was last updated 5 days, 9 hours ago by
David.
-
AuthorPosts
-
March 18, 2023 at 4:58 am #2572000
Torsten
Cool, thanks a lot!
I addedtext-align: left;
andpadding: 15px 10px;
so now it’s.nav-contact { order: 50; flex: 1 0 100%; text-align: left; padding: 15px 10px; }
March 18, 2023 at 5:52 am #2572071David
StaffCustomer SupportGlad to be of help 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 19, 2023 at 6:50 am #2572938Torsten
Hi David,
I’m almost happy with Navigation / Header (set as an element), only the hamburger-menu is now placed above the element.
Is there a way to display it lower (z-index:50px;) for desktop?
right-aligned and centered fon tablet/mobile?
thx ahead,
TorstenMarch 19, 2023 at 11:42 am #2573296Ying
StaffCustomer SupportHi Torsten,
Can you try this CSS?
div#primary-menu { position: absolute; right: 0; }
March 20, 2023 at 1:24 am #2573718Torsten
Cool!
I addedpadding-top: 80px;
but its only working for desktop, not (yet) for tablet and mobile.
Could you please help one more time?
best,
TorstenMarch 20, 2023 at 1:46 am #2573746Fernando Customer Support
Try adding this:
nav#mobile-header button.menu-toggle { padding-top: 80px; }
March 20, 2023 at 1:58 am #2573755Torsten
Thanks for directions for the selector, the following code did it:
nav#mobile-header button.menu-toggle { position: absolute; right: 0; }
Thumbs up!
March 20, 2023 at 5:08 pm #2574816Fernando Customer Support
You’re welcome, Torsten!
March 22, 2023 at 3:14 am #2576565Torsten
Hi,
I recognized another little problem.
When I scroll down on my “real” mobile the Hamburger icon has not the right-padding of 50px as the Menu has at the startpoint.
Addingpadding-right: 50px;
to.main-navigation.sticky-navigation-transition .main-nav > ul > li > a, .sticky-navigation-transition .menu-toggle, .main-navigation.sticky-navigation-transition .mobile-bar-items a, .sticky-navigation-transition .navigation-branding .main-title { line-height: 20px; }
gives me a right-padding for the whole page.
Can you help me with the code for the Hamburger Menu Logo on Sticky Menu?
I didn’t have the effect on Chrome when logged in as an admnin, that’s why I missed it beforehand.
Thanks ahead,
TorstenI don’t have this problem on Firefox for mobile, only Chrome for mobile.
March 22, 2023 at 8:03 am #2577027David
StaffCustomer SupportI don’t see the hamburger alignement issue did your resolve that ?
but i do notice there is some horizontal scroll on mobile, which is coming from the text in the site footer.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 22, 2023 at 8:26 am #2577062Torsten
no, I didn’t resolve it, it’s still happening, as said, it only happens on my physical mobile with Chrome Browser, not when resizing browser window nor in the preview in customizer. But I notice now that I can swipe to the left, I didn’t notice that before, maybe that’s what’s causing the mentioned effect?
I deactivated footer widgets.
Still happening. I can swipe, effect still happening on mobile / Chrome.
Can you help me get rid of the footer scroll possibility?
Let’s see if that helps.
Thanks!
TorstenMarch 22, 2023 at 9:34 am #2577183David
StaffCustomer SupportOn closer inspection there are quite a few elements on the page where the layout is creating horizontal scroll.
Try this CSS to stop it:
html, body { overflow-x: hidden; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 22, 2023 at 9:39 am #2577194Torsten
Solved it!
Thanks a lot.March 23, 2023 at 5:45 am #2578614David
StaffCustomer SupportYou’re welcome
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.