Re: Padding and alignment

Solved

Padding and alignment

Angie_Freese
Excursionist
24 0 4

Hi 

Can anyone help me add some padding above the logo and underneath the announcement bar?

Plus I'd also like to move the logos and symbols in from each end of the header so they align with the images and the rest of the home page. 

Thanks

Screenshot 2025-01-15 at 13.08.45.png

Accepted Solution (1)
topnewyork
Astronaut
1368 165 224

This is an accepted solution.

Hi @Angie_Freese 
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

<style>
header {
    padding-top: 20px !important;
}
.cart--container {
        margin-bottom: -10rem !important;
    }
</style>

 

 

Result:

topnewyork_0-1736950458399.png

If you find my advice helpful please remember to LIKE and accept as SOLUTION.
Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

View solution in original post

Replies 8 (8)

topnewyork
Astronaut
1368 165 224

Hello, @Angie_Freese 
Please share "Store URL"
Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

dmwwebartisan
Shopify Partner
12368 2558 3744

@Angie_Freese 

Please share your store URL!

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app

websensepro
Shopify Partner
1914 229 273

Hi @Angie_Freese  , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
Angie_Freese
Excursionist
24 0 4

Thank you! That's sorted out the padding above the logo perfectly. Is there any way of this not translating to the mobile version? Now there is too large a gap on the mobile. 

It also hasn't made any adjustment to the alignment

Thanks

Angie

topnewyork
Astronaut
1368 165 224

@Angie_Freese Add this code also, as per above steps:

 

@media (max-width: 768px) {
header {
    padding-top: 0px !important;
}
}

 

If you find my advice helpful please remember to LIKE and accept as SOLUTION.
Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
Angie_Freese
Excursionist
24 0 4

Hi - is this for the mobile view? I've pasted it in and it's not made any difference. Where should I put it exactly in terms of the first code you gave me?

Thanks

Angie

Angie_Freese
Excursionist
24 0 4

Hi it's www.oflifeandlemons.co.uk

Thanks

Angie

topnewyork
Astronaut
1368 165 224

This is an accepted solution.

Hi @Angie_Freese 
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

<style>
header {
    padding-top: 20px !important;
}
.cart--container {
        margin-bottom: -10rem !important;
    }
</style>

 

 

Result:

topnewyork_0-1736950458399.png

If you find my advice helpful please remember to LIKE and accept as SOLUTION.
Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month