Space/Padding between Header and Content/Body

Is there a custom css for adding space/padding between my header and content/body? I tried inside my theme settings, but its not working…

1 Like

@VeriVendi - can you share this page link?

1 Like

HI @VeriVendi

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file bundle-head.css

Step 3: Paste the below code at bottom of the file → Save

header#shopify-section-header {

margin-bottom: 80px !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Contact page

HI @VeriVendi

You can try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.container.show-on-scroll.is-visible {
    padding-top: 50px;
}
  • And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Hey @VeriVendi

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Thank you, do you also have a solution for the next one… When I add 2 sections inside the theme editor, their is also no space/padding between them. I have send the picture in here. I tried to correct in the theme editor, but its not working.

Also, now he moved the padding on my Homepage on Mobile as well, thats not good. Could you help me with that also?