- This topic has 9 replies, 3 voices, and was last updated 2 years ago by Fernando.
-
AuthorPosts
-
March 23, 2022 at 6:39 pm #2165295Brent Wilson
Possible header side padding issue. Please watch this Loom video to see the issues/questions and let me know your thoughts. Thanks!
March 23, 2022 at 6:46 pm #2165300LeoStaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know ๐
March 23, 2022 at 6:48 pm #2165301Brent WilsonSee below
March 23, 2022 at 8:04 pm #2165335Fernando Customer SupportHi Brent,
This is the expected behavior. You would need custom CSS to override the default padding on sticky for mobile:
nav#sticky-navigation { padding-left: 30px; padding-right: 30px; }
The same goes for the menu padding on desktop:
.menu-bar-items > span.menu-bar-item > a { padding-left:0; padding-right:0; }
If you also wish to adjust the menu padding on mobile:
nav#sticky-navigation .menu-toggle { padding-left: 0; padding-right: 0; } button.menu-toggle { padding-right:30px; }
You can also try modifying this through Appearance > Customize > Layout > Primary Navigation: https://share.getcloudapp.com/KouArGk8
Here is an article with regards to adding CSS: https://docs.generatepress.com/article/adding-css/#additional-css
Adding it through additional CSS should work.
Hope this helps! ๐
March 24, 2022 at 4:50 pm #2166564Brent WilsonOkay, I am still struggling. Please watch this Loom video and let me know what I might be able to try to deal with the two issues that I point out in the video. Thanks!
March 24, 2022 at 6:27 pm #2166605Fernando Customer SupportHi Brent,
Can you confirm if the Loom link was uploaded completely? It seems to stop loading at some point.
Hope to hear from you soon. ๐
March 27, 2022 at 5:49 pm #2169181Brent WilsonSorry that Loom video didn’t seem to be playing fully the other day. It seems to be okay now. Please try it again and let me know about the two issues I point out in the video. https://www.loom.com/share/95bf39e3950a4c8d8e04a822fb37eae7
March 27, 2022 at 9:08 pm #2169265Fernando Customer SupportThank you Brent! I was able to watch the video now. With that said, you would need a little custom CSS to achieve the tweaks mentioned.
Here is a code you may try:
nav#generate-slideout-menu.is-open > div { padding-left: 30px; } @media (max-width: 768px) { /* CSS in here for mobile only */ nav#sticky-navigation.is_stuck { padding-left: 30px; padding-right: 30px; } nav#sticky-navigation.is_stuck .inside-navigation .menu-toggle { padding-right: 0; } nav#sticky-navigation.is_stuck .navigation-branding { margin-left:0; } }
Here is an article with regards to adding CSS: https://docs.generatepress.com/article/adding-css/#additional-css
Adding it through additional CSS should work.
Hope this helps! Kindly let us know how it goes. ๐
March 27, 2022 at 9:42 pm #2169277Brent WilsonGreat! That CSS appears to have resolved both issues that I brought up in the video! Thanks!
March 27, 2022 at 11:52 pm #2169331Fernando Customer SupportYouโre welcome Brent! Glad that worked! Feel free to reach out anytime if youโll need assistance with anything else. ๐
-
AuthorPosts
- You must be logged in to reply to this topic.