How to change the display size of collection list section images?

Solved

How to change the display size of collection list section images?

mollycakes
Excursionist
20 0 5

I would like to change the display size of the collection list images. What code can I add to the collection list custom css to display them like the 1st photo?

Screenshot 2024-07-10 at 10.25.11 AM.pngScreenshot 2024-07-10 at 10.25.11 AM copy.png

Accepted Solutions (2)
BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

Hi @mollycakes,

You can follow these steps to make the effect

1. Open Online Store > Theme > Edit Code

2. Find and open the base.css (or theme.css, custom.css) file

3. Paste the code snippet below at the bottom of the file and hit save

 

 

 

.collection-list {
    /* You can change this value to change the gap between the collection card */
    column-gap: 5px;
    justify-content: center;
}

.collection-list .card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.collection-list .card .card__inner {
    /* You can change this value to change the size of the collection images */
    width: 100px;
    border-radius: 50%;
}

.collection-list .card .card__inner .card__media {
    border-radius: 50%;
}

 

 

 

Here is the result

BSSTekLabs_0-1720625728660.png

Hope this helps you solve the issue.

Please don't forget to Like and Mark it as an Accepted Solution if you find this helpful. Thank 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

View solution in original post

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

If you use that CSS, other text might change as well

BSSTekLabs_0-1720627580900.png

You can try again applying this code snippet to the base.css file

 

 

.collection-list .card .card__heading a.full-unstyled-link  {
    /* You can change this value to fit your preference */
    font-size: 12px !important;
}

 

 

 

 

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

View solution in original post

Replies 9 (9)

BSS-TekLabs
Shopify Partner
2401 695 835

Hi @mollycakes,

Can you please provide us the store URL and password (if enabled) so our team can support 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
mollycakes
Excursionist
20 0 5

Thank you. I am currently working in this collection page.

https://luxienail.com/collections/accessories

although the theme I am trying to edit is not yet published. It is for Dawn 15.0. I would like the images round as shown but much smaller.

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

Hi @mollycakes,

You can follow these steps to make the effect

1. Open Online Store > Theme > Edit Code

2. Find and open the base.css (or theme.css, custom.css) file

3. Paste the code snippet below at the bottom of the file and hit save

 

 

 

.collection-list {
    /* You can change this value to change the gap between the collection card */
    column-gap: 5px;
    justify-content: center;
}

.collection-list .card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.collection-list .card .card__inner {
    /* You can change this value to change the size of the collection images */
    width: 100px;
    border-radius: 50%;
}

.collection-list .card .card__inner .card__media {
    border-radius: 50%;
}

 

 

 

Here is the result

BSSTekLabs_0-1720625728660.png

Hope this helps you solve the issue.

Please don't forget to Like and Mark it as an Accepted Solution if you find this helpful. Thank 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
mollycakes
Excursionist
20 0 5

This is perfect! Thank you! Is there also something I can add to make the text slightly smaller?

BSS-TekLabs
Shopify Partner
2401 695 835

You can add this code snippet to the bottom of the base.css file to make the text smaller

.collection-list .card .card__content .card__heading {
    /* You can change this value to fit your preference */
    font-size: 12px;
}

It'll look like this

BSSTekLabs_0-1720626741216.png

Hope this helps you solve the issue.

 

 

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
mollycakes
Excursionist
20 0 5

Thank you! This didn't work for me but I added the following to the Custom CSS block and it worked out. Not sure if that is the correct way but it seems to work.

Click to expand...
.full-unstyled-link {
    text-decoration: none;
    color: currentColor;
    display: block;
    font-size: 14px;
}
BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

If you use that CSS, other text might change as well

BSSTekLabs_0-1720627580900.png

You can try again applying this code snippet to the base.css file

 

 

.collection-list .card .card__heading a.full-unstyled-link  {
    /* You can change this value to fit your preference */
    font-size: 12px !important;
}

 

 

 

 

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
mollycakes
Excursionist
20 0 5

Perfect! Thank you for your help! 👍

Made4uo-Ribe
Shopify Partner
10184 2417 3060

Hi @mollycakes 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.collection-list .card__inner {
    border-radius: 50% !important;
}
.collection-list .card__inner .card__media {
      border-radius: 50% !important;
}

 

  • And Save. 
  • result:
    Made4uoRibe_0-1720626577475.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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.