Broadcast Theme Stacking Size Variant Buttons

Broadcast Theme Stacking Size Variant Buttons

mrgargiu
Tourist
5 0 1

Hello,

 

Our products have 7 different size variants each, however on mobile, you can only see the first 7 and have to scroll to see the final size.

 

Does anyone know how to stack the size buttons so that all options appear without having to scroll? We're on Broadcast theme.

Thanks!

Replies 7 (7)

BSS-TekLabs
Shopify Partner
2350 701 826

Hello @mrgargiu 
Our team is ready to help you.
Please share your website URL so that we can check and assist you.

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


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


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

Thank you. It's https://nellajune.com/

namphan
Shopify Partner
1329 164 199

Hi @mrgargiu,

Please send me the store link, I will check it for you

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]
mrgargiu
Tourist
5 0 1

Thank you. It's https://nellajune.com/

 

namphan
Shopify Partner
1329 164 199

Hi @mrgargiu,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

@media only screen and (max-width: 768px) {
    .swatch-single.swatch-view-slide .swatch-navigable ul.swatch-view {
            flex-wrap: wrap !important;
    width: 100% !important;
    row-gap: 10px !important;
    }
}
Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]

BSSCommerce-B2B
Shopify Partner
1729 518 582

@mrgargiu , 

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-1726845170900.png

 

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

 

 

@media only screen and (max-width: 768px) {
  li.swatch-view-item {
    margin: 0px 2px !important;
  }
}

 

 

Step 3: Save and reload home page.

=>> The result: 

 

BSSCommerceB2B_3-1726845208074.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

mrgargiu
Tourist
5 0 1

This worked perfect. Thank you!