Expanding photo to whole collection box on Refresh theme

Solved
jhghidossi
Excursionist
23 0 0

I would like to have my collection images fill the entire collection box, how can I make this happen?

 

Currently the collection image fills 75 percent of the collection box

Accepted Solution (1)
made4Uo
Shopify Partner
3756 709 1077

This is an accepted solution.

Hi @jhghidossi,

 

Thank you for clarifying. Just follow the instructions below. 

 

1. Go to Admin > Online store > Themes > Actions > Edit code
2. Go to Asset folder, and open the base.css file
3. Add the code below.

 

NOTE: Depending on your image size, you might have to adjust the height below, and change it to 101%.

.collection-list .card.card--card.card--media{
overflow: hidden;
}

.collection-list div.card__media {
    margin: 0;
    width: 100%;
    height: 100%;
}

 

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!

View solution in original post

Replies 4 (4)
jhghidossi
Excursionist
23 0 0
made4Uo
Shopify Partner
3756 709 1077

Hi @jhghidossi,

 

Can you explain more in details? What will happened to the collection title?

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!
jhghidossi
Excursionist
23 0 0

In the picture below the collection picture dosent fill the entire collection box. I would like the whole this to be filled with the image I upload for each collection. Let me know if you need me to clarify more. Thanks!

Screen Shot 2022-06-24 at 5.15.18 PM.png

made4Uo
Shopify Partner
3756 709 1077

This is an accepted solution.

Hi @jhghidossi,

 

Thank you for clarifying. Just follow the instructions below. 

 

1. Go to Admin > Online store > Themes > Actions > Edit code
2. Go to Asset folder, and open the base.css file
3. Add the code below.

 

NOTE: Depending on your image size, you might have to adjust the height below, and change it to 101%.

.collection-list .card.card--card.card--media{
overflow: hidden;
}

.collection-list div.card__media {
    margin: 0;
    width: 100%;
    height: 100%;
}

 

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!