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!
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- 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
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!
system
4
Hi @MitchellFly
Aibek is here from Speedimize.io
You can try this code:
.template-cart .main-content {
padding-top: 30px !important;
}
1 Like
Excellent–that worked perfectly in our timber.scss.liquid file! Thank you so much Aibek!
1 Like