Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I edit my site's code to achieve a full-width collection grid?

Solved

How can I edit my site's code to achieve a full-width collection grid?

Gerardlopez
Excursionist
32 0 10

Hi!

I'm trying to edit the code on my site to make the grid look like this.

Captura de pantalla 2021-11-14 a las 12.34.08.png

I need to make the collection grid full width so it doesn't have any margins and get the products as close as possible.

Is it possible to reduce the padding between the header and the collection grid?

Captura de pantalla 2021-11-14 a las 12.33.58.png

Thank you!

 

 

Accepted Solution (1)
Kinjaldavra
Shopify Partner
2303 570 1426

This is an accepted solution.

@Gerardlopez 

please Go to Online Store->Theme->Edit code then go to assets/styles.css ->paste below code at the bottom of the file.

@media screen and (min-width: 759px){
.template-collection .grid-uniform {
    max-width: 100%;
    margin: 0px auto;
}
.template-collection .grid-uniform  .grid__item { 
    padding-left: 3px;
}
.template-collection .main-content {
    padding-top: 10px !important ;
}
}

 

View solution in original post

Replies 8 (8)
Kinjaldavra
Shopify Partner
2303 570 1426

Hello @Gerardlopez 

Can you please share your shop url and if any password then share password

Gerardlopez
Excursionist
32 0 10
Click to expand...
 

Hi! It’s www.algobazaar.com

Gerardlopez
Excursionist
32 0 10
Click to expand...
 

The theme is not live yet! Is there a way I can share it?

Kinjaldavra
Shopify Partner
2303 570 1426

@Gerardlopez 

share me your shop preview URL which is not live yet 

Gerardlopez
Excursionist
32 0 10
Kinjaldavra
Shopify Partner
2303 570 1426

This is an accepted solution.

@Gerardlopez 

please Go to Online Store->Theme->Edit code then go to assets/styles.css ->paste below code at the bottom of the file.

@media screen and (min-width: 759px){
.template-collection .grid-uniform {
    max-width: 100%;
    margin: 0px auto;
}
.template-collection .grid-uniform  .grid__item { 
    padding-left: 3px;
}
.template-collection .main-content {
    padding-top: 10px !important ;
}
}

 

Gerardlopez
Excursionist
32 0 10

hi!

i can't find the styles.css file

Gerardlopez
Excursionist
32 0 10

When I switch it to the a phone screen the product images change proportions.

Is there a way to keep the same image ratio?

Captura de pantalla 2021-11-15 a las 17.55.27.png

Captura de pantalla 2021-11-15 a las 17.56.17.png