How can I strech out the collection cards on the page?

Solved

How can I strech out the collection cards on the page?

LDLC_Shop
Tourist
13 0 7

As you can see on the image below, I want the collections cards to be full width on the screen, I don't mind if their heigh increase as well, I just want it to fit fully on the screen. How can I do that?

 

LDLC_Shop_0-1738676901431.png

 

Website: longdistanceloveclub.com

Password: edimar123

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9865 2347 2945

This is an accepted solution.

Hi @LDLC_Shop 

If you like to full width this collection it will be also increase the sizes of the image. 

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:

 

.section-template--23366295388425__collection_list_tBBF88-padding {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738679151539.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.

View solution in original post

Replies 3 (3)

Ahmad3
Tourist
5 0 1

.collection-list {

    display: flex;

    flex-wrap: wrap;

    width: 100vw; /* Full width */

}

 

.collection-list__item {

    flex: 1 1 100%; /* Each collection takes full width */

    max-width: 100%;

    height: auto; /* Adjust height dynamically */

}

If You Need Shopify Specialist You Can Contact.

Made4uo-Ribe
Shopify Partner
9865 2347 2945

This is an accepted solution.

Hi @LDLC_Shop 

If you like to full width this collection it will be also increase the sizes of the image. 

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:

 

.section-template--23366295388425__collection_list_tBBF88-padding {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738679151539.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.
LDLC_Shop
Tourist
13 0 7

It works perfectly, thank you!