bottom smaller mobile version

bottom smaller mobile version

Debora
Tourist
5 0 2

IMG_2227.jpeg

I would like to know how I can make the “shop now” button a little smaller in the mobile version. What code can I use and how do I do it step by step?

Replies 13 (13)

BSSCommerce-HDL
Shopify Partner
2298 847 1061

Hi @Debora,
Can you kindly share your store link with us? We will check it and suggest you a solution if possible.

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Debora
Tourist
5 0 2
Moeed
Shopify Partner
5366 1452 1738

Hey @Debora 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
a.button.button--primary {
    min-height: 30px !important;
}
}
</style>

RESULT:

Moeed_0-1725876055923.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Debora
Tourist
5 0 2

Thank you sooo much I manage to fix with your code.

BSSCommerce-HDL
Shopify Partner
2298 847 1061

Hi @Debora

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
@media screen and (max-width: 749px) {
.banner__buttons a {
    font-size: 12px !important;
}
.banner__buttons a.button {
    min-height: 38px !important;
}
}
</style>

 Here is result: 

BSSCommerceHDL_0-1725876152208.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

topnewyork
Globetrotter
633 114 134

Hi @Debora ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

 

<style>
@media screen and (max-width: 767px) {
a.button.button--primary {
     min-width: 100px !important;    
     min-height: 35px !important;
}
</style>

 

 

topnewyork_0-1725876304183.png

topnewyork_0-1725876526533.png

 

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at Top New York Web Design
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel

Rahul_dhiman
Shopify Partner
544 109 109

Hello @Debora 
Please provide URL and password of the store.

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 [email protected] - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

Sangeetanahar
Explorer
541 36 69

hello @Debora 

Please provide URL and password of the store.

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 [email protected] - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here

Moeed
Shopify Partner
5366 1452 1738

Hey @Debora 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Rahul_dhiman
Shopify Partner
544 109 109

Hello @Debora 

Go to online store ----> themes ----> actions ----> edit code---->base.css
add this code at the end of the file.

a.button.button--primary {
min-height: 30px !important;
}

result
10.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 [email protected] - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

Debora
Tourist
5 0 2

I tried but it appears that is not possible to publish with the code someone know what is this or what I doing wrong?

Debora
Tourist
5 0 2

Captura de Tela 2024-09-09 às 13.17.38.png

topnewyork
Globetrotter
633 114 134

Hi @Debora ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
@media screen and (max-width: 767px) {
a.button.button--primary {
     min-width: 100px !important;    
     min-height: 35px !important;
}
</style>

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at Top New York Web Design
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel