How to change small images width

Solved

How to change small images width

NikosBat
Trailblazer
372 1 64

Hello guys as you can see in the picture there are 4 variant images visible without scrolling. How can I change that and make it like 4,5 images. Basicall 4 complete images and the 5th should be half, so that the people would know that there are more images and they should scroll.

 

NikosBat_0-1738253754909.png

 

Accepted Solution (1)
CodingFifty
Shopify Partner
903 136 164

This is an accepted solution.

Hi @NikosBat,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

@media screen and (min-width: 900px) {
  .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
    width: calc(20% - 2rem) !important;
  }
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

View solution in original post

Replies 9 (9)

htmlBurger
Shopify Partner
87 8 21

Hello @NikosBat 

Can you please share your store URL so I can check this?

Found this helpful? Like and accept as solution to help others too!
htmlBurger – Founded in 2007, Shopify experts for 10+ years.
Custom themes, UI/UX design, ongoing maintenance & support.
Let's talk: ecom@htmlburger.com

CodingFifty
Shopify Partner
903 136 164

Hi @NikosBat,

 

Thank you for reaching out to the Shopify community. I'd be glad to assist you. Could you kindly share your store URL and
password (if it’s password-protected) so I can review it and provide you with an update?

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
NikosBat
Trailblazer
372 1 64

brisk_code
Shopify Partner
82 10 14

Hi there

1. Go to Customize

brisk_code_1-1738255864806.png

 

2. Select Product Page

brisk_code_0-1738255823371.png

3. Paste the code in Custom CSS section

brisk_code_2-1738255899958.png

code: 

@media screen and (min-width: 900px) {
  .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
    width: calc(20% - 2rem) !important;
  }
}

 

Best
Fazil Nusrat from Brisk Code

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!
NikosBat
Trailblazer
372 1 64

Hey Brsik_code and thanks for answering, my Custom CSS code is already full i cant add more codes in there. Can i paste the code somewhere else?

CodingFifty
Shopify Partner
903 136 164

This is an accepted solution.

Hi @NikosBat,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

@media screen and (min-width: 900px) {
  .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
    width: calc(20% - 2rem) !important;
  }
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
NikosBat
Trailblazer
372 1 64

Thank you very much CodingFifty, that solved my problem

CodingFifty
Shopify Partner
903 136 164

You're welcome! @NikosBat 

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
brisk_code
Shopify Partner
82 10 14

He copied my answer 😂

Best
Fazil Nusrat from Brisk Code

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!