How to resize slideshow button for mobile and desktop

Solved

How to resize slideshow button for mobile and desktop

Mutantcitycomic
Visitor
1 0 0

Hey guys, I am struggling to figure out how to resize the button within the slideshow section using the Dawn theme. It’s just a tad too big for desktop view but is way too big for mobile.

I attached the url below if anyone can help it would be very much appreciated thank you

 

https://mutantcitycomics.myshopify.com

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1790 548 608

This is an accepted solution.

@Mutantcitycomic ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

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

BSSCommerceB2B_0-1727485751072.png

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

 

@media only screen and (max-width: 768px) {
  .banner__buttons {
    scale: 0.8 !important;
  }
}

 

IN this step, you can change the value of scale to make it smaller as you want. 

In my example,  I choose 0.8. 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_2-1727485849536.png

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

View solution in original post

Replies 2 (2)

BSSCommerce-HDL
Shopify Partner
2305 848 1065

Hi @Mutantcitycomic

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 only screen and (max-width: 767px) {
 .banner__buttons .button {
    min-height: 40px !important;
    padding: 0 15px !important;
    font-size: 12px !important;
 }
}
</style>

 

 

Here is result: 

BSSCommerceHDL_0-1727484663041.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

BSSCommerce-B2B
Shopify Partner
1790 548 608

This is an accepted solution.

@Mutantcitycomic ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

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

BSSCommerceB2B_0-1727485751072.png

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

 

@media only screen and (max-width: 768px) {
  .banner__buttons {
    scale: 0.8 !important;
  }
}

 

IN this step, you can change the value of scale to make it smaller as you want. 

In my example,  I choose 0.8. 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_2-1727485849536.png

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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