Expanding photo to whole collection box on Refresh theme

Solved

Expanding photo to whole collection box on Refresh theme

jhghidossi
Excursionist
39 0 1

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
3848 717 1191

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%;
}

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

View solution in original post

Replies 4 (4)

jhghidossi
Excursionist
39 0 1
made4Uo
Shopify Partner
3848 717 1191

Hi @jhghidossi,

 

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
jhghidossi
Excursionist
39 0 1

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
3848 717 1191

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%;
}

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free