How to make Collection list on homepage full wide screen

Hi there!

How to make a Collection list (2 items) on my homepage full wide screen.

Basically I want to get rid of the side margins marked in red.

I have tried this code on theme.liquid but didn’t work:

.shopify-section.index-section .page-width { max-width: 100% !important; }

Thanks for your support!

My page: vengastore.com

1 Like

Hi @miltokas

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

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--19415971791180__7ebf5d64-1a1f-4966-a8f2-d9451a3d8d78-padding  {
    max-width: 100%;
    padding: 0px !important;
}
@media only screen and (max-width:767px){
.section-template--19415971791180__7ebf5d64-1a1f-4966-a8f2-d9451a3d8d78-padding .grid__item {
    max-width: 50%;
}
}

And save.

Result:

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