Re: How to make my guarantee widgets scroll on mobile

Solved

How to make my guarantee widgets scroll on mobile

DaveyAlcatraz
Explorer
63 0 13

Hi everyone

I am currently using the bullet theme and I noticed something in another website completely unrelated to my industry that would be really great to implement. To ensure there is no confusion I have added photos, please help mimic the second and third images effect of a horizontal carousel style scrolling guarantee widget on mobile only rather than consecutive images you scroll through vertically.

 

image_123650291 (3).JPGimage_123650291 (2).JPGimage_123650291 (1).JPG

Accepted Solution (1)
BSSCommerce-B2B
Shopify Partner
1718 512 574

This is an accepted solution.

@DaveyAlcatraz, please add another code after the previous one.

BSSCommerceB2B_0-1723518157497.png

All the code after changing will look like this

 

@media only screen and (max-width: 768px) {
    .guarantee x-grid {
        display: flex !important;
        overflow: scroll !important;
    }
    .guarantee x-grid::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari and Opera */
    }
    .guarantee x-grid {
        -ms-overflow-style: none !important; /* IE and Edge */
        scrollbar-width: none !important; /* Firefox */
    }
    .guarantee x-grid picture {
        min-width: 150px;
    }
}

 

Result

BSSCommerceB2B_1-1723518336641.png

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 6 (6)

BSSCommerce-B2B
Shopify Partner
1718 512 574

Hi @DaveyAlcatraz,

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

Step 2. Find the file app.css

Step 3. Add this code at the end of file

@media only screen and (max-width: 768px) {
  .guarantee x-grid {
     display: flex!important;
     overflow: scroll!important;
   }
}

Result

BSSCommerceB2B_0-1723513609274.png

 

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

BSSCommerce-B2B
Shopify Partner
1718 512 574

If you don't want to show the scrollbar please change the code like this

@media only screen and (max-width: 768px) {
    .guarantee x-grid {
        display: flex !important;
        overflow: scroll !important;
    }
    .guarantee x-grid::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari and Opera */
    }
    .guarantee x-grid {
        -ms-overflow-style: none !important; /* IE and Edge */
        scrollbar-width: none !important; /* Firefox */
    }
}

Result

BSSCommerceB2B_0-1723513788306.png

If it helps you, please like and mark it as the solution.

Best Regards

 

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

DaveyAlcatraz
Explorer
63 0 13

Hi, 

 

i appreciate that a lot, do you have any idea why this would happen? i’d like each widget to be the same size, all of the files are 300 x 300 px

 

IMG_0553.png

BSSCommerce-B2B
Shopify Partner
1718 512 574

This is an accepted solution.

@DaveyAlcatraz, please add another code after the previous one.

BSSCommerceB2B_0-1723518157497.png

All the code after changing will look like this

 

@media only screen and (max-width: 768px) {
    .guarantee x-grid {
        display: flex !important;
        overflow: scroll !important;
    }
    .guarantee x-grid::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari and Opera */
    }
    .guarantee x-grid {
        -ms-overflow-style: none !important; /* IE and Edge */
        scrollbar-width: none !important; /* Firefox */
    }
    .guarantee x-grid picture {
        min-width: 150px;
    }
}

 

Result

BSSCommerceB2B_1-1723518336641.png

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

DaveyAlcatraz
Explorer
63 0 13

Thanks so much you are such a legend!!

BSSCommerce-B2B
Shopify Partner
1718 512 574

It such my honor to help you bro 😍

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