Reduce Padding on Mobile Navigation
We are trying to reduce the mobile padding on our navigation so it is more in line with our content. See attached. We added a few different pieces of css found in the support forums to see if it would reduce the spacing, but it hasn’t worked. Here is the last piece we added:
#page-container .sh-header-mobile-navigation .sh-nav-container { padding-left: 10px !important; padding-right: 10px !important; }
The website is barrierfreeaccess.com
Attachments: You must be
logged in to view attached files.
Solution for this topic
Hi @27thLetter ,
I hope you are well today and thank you for your question.
You can reduce it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
#header-mobile .container {
max-width: 350px !important;
}
Best regards, Shufflehound team
That worked! Thank you very much.
You are most welcome here 🙂
Popular choice Professional Developers At Your Fingertips! If you need services beyond standard support, we've got your back!
Let's get started
Services we offer: Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.Got it