Re: Cant reduce the size of collection list

Solved

Cant reduce the size of collection list

GediminasS
Excursionist
12 0 4

Hi,

 

I have a problem can't figure out how to reduce the collection list image sizes and make them round. I need to do that on PC and Mobile versions. 

GediminasS_0-1736339607933.png

 

Shop link - https://e8614c-2.myshopify.com/collections/all

Thanks for the help!

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9846 2340 2936

This is an accepted solution.

Hi @GediminasS 

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:

 

.collection-card.carousel__slide {
    border-radius: 100%;
}

.collection-card--image.media-aspect-adapt {
    border-radius: 100%;
    border: .5px solid grey;
}

.collection-card--image.media-aspect-adapt {
    padding-bottom: 50%;
    width: 50%;
    margin: auto;
}
@media only screen and (max-width: 749px){
.collection-grid.enable-swipe.text-center.theme-scroll--inner {
    --mobile-columns: 3;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736340862639.pngMade4uoRibe_1-1736340872552.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.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9846 2340 2936

This is an accepted solution.

Hi @GediminasS 

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:

 

.collection-card.carousel__slide {
    border-radius: 100%;
}

.collection-card--image.media-aspect-adapt {
    border-radius: 100%;
    border: .5px solid grey;
}

.collection-card--image.media-aspect-adapt {
    padding-bottom: 50%;
    width: 50%;
    margin: auto;
}
@media only screen and (max-width: 749px){
.collection-grid.enable-swipe.text-center.theme-scroll--inner {
    --mobile-columns: 3;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736340862639.pngMade4uoRibe_1-1736340872552.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.
GediminasS
Excursionist
12 0 4

Hi, is it possible that I don't have any of those files ("base.css, style.css or theme.css") in my asset folder? As I can't find it. 


GediminasS
Excursionist
12 0 4

Actually, I have the fail list-collections.css, and it worked like a charm! Thanks!!!

Made4uo-Ribe
Shopify Partner
9846 2340 2936

Good to hear! You can also add this in the custom.css file, which you can find in the theme editor.

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.

topnewyork
Astronaut
1121 150 186

Hello, @GediminasS 
1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom

 

.collection-card.carousel__slide {
    border-radius: 100% !important;
}

.collection-card--image.media-aspect-adapt {
    border-radius: 100% !important;
    border: .5px solid grey;
}

.collection-card--image.media-aspect-adapt {
    padding-bottom: 50% !important;
    width: 50%;
    margin: auto !important;
}
@media only screen and (max-width: 749px){
.collection-grid.enable-swipe.text-center.theme-scroll--inner {
    --mobile-columns: 3;
}
}

 

 Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month