Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Padding issue in drawer menu on mobile

Solved

Padding issue in drawer menu on mobile

TBS2023
Shopify Partner
210 1 17

Hello

When looking at my mobile drawer menu

I have 2 items that have a different padding to the rest ...i am not sure why?

TBS2023_0-1728297532120.png

 

Accepted Solution (1)

Tech_Coding
Shopify Partner
417 110 99

This is an accepted solution.

Hello @TBS2023 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px){
   .drawer__contents button.mobile-nav__link--button {
        padding-left: 0 !important;
    }
}
</style>

Tech_Coding_1-1728297899936.png

Tech_Coding_0-1728298357219.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Replies 3 (3)

EvinceDev
Shopify Partner
121 13 13

Hello @TBS2023 ,
Could you provide store url.

 

Shopify Theme Advanced Backend Developer and Debugger
Want to modify or develop new app, Hire us.
If our Answer is helpful then please Like and Accept Solution!
I am an eCommerce and Marketing Technology consultant based in India.
To inquire about consulting work availability, You can reach me on Skype by live: rahul.evince or mail on partners@evincedev.com.
Shopify Apps URL :- https://apps.shopify.com/partners/gemfind1
Customization on Shopify Theme | Shopify App Development | SEO & Digital Marketing

Tech_Coding
Shopify Partner
417 110 99

This is an accepted solution.

Hello @TBS2023 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px){
   .drawer__contents button.mobile-nav__link--button {
        padding-left: 0 !important;
    }
}
</style>

Tech_Coding_1-1728297899936.png

Tech_Coding_0-1728298357219.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Rahul_dhiman
Shopify Partner
656 127 132

Go to online store ---------> themes --------------> actions ------> edit code------->theme.css
at the end of the file and save.

button.mobile-nav__link--button.mobile-nav__link--top-level.collapsible-trigger.collapsible--auto-height {
padding-left: 0px !important;
}

result
5.png

If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167