Re: Make the collection list full width in impulse theme?

Make the collection list full width in impulse theme?

Tesoro
Tourist
13 0 2

I've been trying to figure out how to make the list full screen on both desktop and mobile view and im not able to. I don't want the padding on the sides. Can someone help? 

Screen Shot 2023-01-10 at 11.26.56 AM.png

Replies 28 (28)

IP1999
Shopify Partner
118 8 13

Some sections have an option for full page width. go to 

 

Online Store > Themes > Customize

 

there you can see all the sections of your home page. click on them and the options for each on shows up on the right. some sections will have a check box "Full page width" and also have a check box "Add spacing above and below"

Tesoro
Tourist
13 0 2

Thanks for the quick reply. I tried already. That section doesn't have the full width option.

Screen Shot 2023-01-10 at 11.50.47 AM.png

IP1999
Shopify Partner
118 8 13

can you post a link to your site?

Tesoro
Tourist
13 0 2
IP1999
Shopify Partner
118 8 13

in your theme.css file there is 

 

.page-width {
max-width: 1500px;
margin: 0 auto;
}

 

remove the 

max-width: 1500px;

Tesoro
Tourist
13 0 2

It affected the whole store layout. There's no way of fixing just that section?

IP1999
Shopify Partner
118 8 13

yes there is.  put back what you did before 

 

and add the follwoing to the end of your theme.css

 

 

 

.collection-content .page-width {
max-width: 100%;
}

 

 

let me knoo if this works

Tesoro
Tourist
13 0 2

it didn't. 😭

IP1999
Shopify Partner
118 8 13

do you still have the code there so i can see what wrong?

IP1999
Shopify Partner
118 8 13

you have this at the end of your CSS file

 

.label, label:not(.variant__button-label):not(.text-label) {
    letter-spacing: .04em;
    font-size: 0.90em;
}
}
.collection-content .page-width { max-width: 100%; }
}

 

 

there are too many closing bracks " } " 

 

i think it need to looke like this 

 

.label, label:not(.variant__button-label):not(.text-label) {
    letter-spacing: .04em;
    font-size: 0.90em;
}
.collection-content .page-width { max-width: 100%; }

 

 

you have 2 extra clsoing brackets. 

Tesoro
Tourist
13 0 2

I just erased the unnecessary brackets and it still doesn't work.

IP1999
Shopify Partner
118 8 13

can you please post here a screen shot of the end of the file. 

Tesoro
Tourist
13 0 2

Screen Shot 2023-01-11 at 9.10.14 AM.png

IP1999
Shopify Partner
118 8 13

can you please get in as much lines as you could.

IP1999
Shopify Partner
118 8 13

@Tesoro i think we took out a bracket that should have stayed in there. can you add in a bracket like this.

 

and then send me a screen shot

 

Capture.PNG

Tesoro
Tourist
13 0 2

Screen Shot 2023-01-11 at 12.31.24 PM.png

 I added another bracket but still not luck.

IP1999
Shopify Partner
118 8 13

it works, you gotta refresh your cache. or open it up in a new browser or incognito 

Tesoro
Tourist
13 0 2

I tried everything you said and it doesn't look like it on my end 😞 

IP1999
Shopify Partner
118 8 13

no worries. can you send me a full screen shot of what you are seeing? 

 

also can you go here and tell me you browser size http://howbigismybrowser.com/

 

what type of browser are you using? 

Tesoro
Tourist
13 0 2

Im using both Chrome and Safari.

Screen Shot 2023-01-11 at 2.26.33 PM.png

Screen Shot 2023-01-11 at 2.27.46 PM.png

  

IP1999
Shopify Partner
118 8 13

Which page and which section are you trying to make full width?

Tesoro
Tourist
13 0 2

Not page. I just want this collection list to be full width. Where there are no white spaces on the left and right side of this section.

IP1999
Shopify Partner
118 8 13

on the home page?

IP1999
Shopify Partner
118 8 13

one last attempt for this forum

 

try putting this at the bottom of you theme.css

 

 

#shopify-section-template--16125451993296__featured-collections .page-width {
    max-width: 100% !important;
}

 

 

PS.

There will still be a litle white space (about 57 pixels). if this code works, then we can move ahead and remove the rest of the white space.

 

Tesoro
Tourist
13 0 2

sadly still no luck

IP1999
Shopify Partner
118 8 13
Tesoro
Tourist
13 0 2

I just followed the link you sent and it still didn't work, so I played around with the coding and tried different codes, and it worked. Thank you for your help 🙂 

KimMcAninch
Visitor
2 0 0

same prob:(  But https://www.modernnursery.com/ has exactly what we want so I know it can be done.