What's your biggest current challenge? Have your say in Community Polls along the right column.

Problems with thumbnail slider

Solved

Problems with thumbnail slider

TrendBlend
Trailblazer
246 0 29

Hello, I got this problem with my thumbnail slider, previously it was too big on phone. Then I got this code:

@media screen and (max-width: 749px) {
.thumbnail-slider .thumbnail-list.slider {
padding: 11.5rem;
gap: 2rem;
bottom: 7rem;
margin-bottom: -14rem;
}
}

To make it smaller, but now the images are still a bit too big on phone, and a lot of empty space appears above and under the slider. Can anyone help me making the images a bit smaller, and removed the empty space on top and under?

IMG_3526.jpeg

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9140 2180 2691

This is an accepted solution.

Hi @TrendBlend 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (max-width: 749px) {
    .thumbnail-slider .thumbnail-list.slider {
        padding: 6rem 11.5rem !important;
    }
    button.thumbnail.global-media-settings.global-media-settings--no-shadow {
    width: 80%;
    height: 80%;
}
    .slider.slider--mobile .slider__slide {
        width: 80%;
    }
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1732632280797.png

     

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
9140 2180 2691

This is an accepted solution.

Hi @TrendBlend 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (max-width: 749px) {
    .thumbnail-slider .thumbnail-list.slider {
        padding: 6rem 11.5rem !important;
    }
    button.thumbnail.global-media-settings.global-media-settings--no-shadow {
    width: 80%;
    height: 80%;
}
    .slider.slider--mobile .slider__slide {
        width: 80%;
    }
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1732632280797.png

     

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
TrendBlend
Trailblazer
246 0 29

 Hello @Made4uo-Ribe ,

there is still a lot of space in between the slider,

IMG_3539.jpeg

do you know how to fix this?

Made4uo-Ribe
Shopify Partner
9140 2180 2691

Remove the gap.

Made4uoRibe_0-1732745058056.png

I think you add this code on the main-section-product.css. 

Make the gap: 0; and save. 

Made4uoRibe_1-1732745179806.png

 

 

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.