How to Decrease Space / Padding Between "Your Cart" and the Wrapper

Solved
MitchellFly
Excursionist
22 0 3

Hi all,

I am currently trying to reduce the amount of space between "Your cart" and the top of the page where it says "Footy Intl".

Any thoughts on how I can do this? I attempted looking through code to find a margin-top or bottom and same with padding and was unsuccessful.

Link: www.footyintl.com

Thank you in advance!

Screen Shot 2021-04-23 at 12.22.08 AM.png

0 Likes
Pallavi
Shopify Expert
1330 179 218

Hello There,

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > timber.scss.liquid and paste this at the bottom of the file:

 

@media only screen and (min-width: 769px){
body:not(.template-index) .main-content {
padding-top: 25px!important;
}
}

Screenshot :- https://prnt.sc/11wsz2q

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
0 Likes
MitchellFly
Excursionist
22 0 3

Hi!

Thank you for the response!

That semi-worked, but it also changed everything up for my other pages. Is there a way I can make that code specific to the cart page only?

Thank you!

0 Likes
Speedimize
Shopify Partner
213 35 93

This is an accepted solution.

Hi @MitchellFly 

Aibek is here from Speedimize.io

You can try this code:

.template-cart .main-content {
  padding-top: 30px !important;
}
We Speedimize your store
Have a problem with speed performance, send me email here: hello@speedimize.io


If our advice was helpful please LIKE or ACCEPT SOLUTION
MitchellFly
Excursionist
22 0 3

Excellent--that worked perfectly in our timber.scss.liquid file! Thank you so much Aibek!

Speedimize
Shopify Partner
213 35 93

You're always welcome!

 

We Speedimize your store
Have a problem with speed performance, send me email here: hello@speedimize.io


If our advice was helpful please LIKE or ACCEPT SOLUTION
0 Likes