How can I add transparent padding to my header?

Hi, Does anyone know of a way i can add some transparent (so it shows the page background colour not header colour) padding around the top and sides of my header please?

Thank you.

*screenshot

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

Hi @LittlePaddocks

Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

Hi, It’s littlepaddocksflowers.com - Password : lpf123.

Thanks

Hi, It’s littlepaddocksflowers.com - Password : lpf123.

Thank you

Hi @LittlePaddocks ,

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/base.css->paste below code at the bottom of the file:

@media screen and (min-width: 990px) {
   .header-wrapper {
        margin-top: 10px;
        max-width: calc(100% - 80px);
        margin-left: auto;
        margin-right: auto;
    }
}

I hope it would help you
Best regards,

Kate | PageFly

Hi @PageFly-Kate , that works brilliantly for desktop and is exactly what i’m looking for, thank you! Although it doesn’t seem to apply to mobile view. Is there a way of applying it to both?

Thanks :slightly_smiling_face:

Hi @LittlePaddocks ,

Sure, I’m happy to help you. Let’s try this solution:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/base.css->paste below code at the bottom of the file:

@media screen and (max-width: 989px) {
   .header-wrapper {
        margin-top: 10px;
        max-width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
    }
}

I hope it would help you
Best regards,

Kate | PageFly

Hi @PageFly-Kate , that worked perfectly.

Thank you for your help!

Great! I’m glad that I can help :blush: