remove padding under header section

i want to remove padding under header section

hey @shop22dash share the URLs of your website plz

Hi @shop22dash

let try to add this Custom CSS code :

.section-header .header {
  padding-block: 0;
}

Hi @shop22dash !

To remove the padding under the header section on your Shopify store (as shown in your screenshot), you’ll need to adjust the CSS for your theme. Here’s how to do it:

Step-by-step to Remove Padding Under Header1. Go to your Shopify admin:

Online Store > Themes

  1. Click “Actions” > “Edit code” on your active theme.

  2. In the left sidebar, look for a CSS file, usually named one of the following:

    • base.css

    • theme.css

    • style.css

    • or inside assets/ folder

  3. Add this CSS at the very bottom of that file:

/* Remove bottom padding under header */
header {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}

.header-wrapper, .site-header {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}

  1. Save the file.

Optional: Use the Shopify Theme Editor (Inspect Element)

If you’re not sure what the exact class is, you can also:

  • Open your store in Chrome.

  • Right-click the space under the header > “Inspect”.

  • Look at the highlighted section and find a class name like .header, .site-header, or .header-wrapper.

  • Use that exact class in your CSS override.

If this reply was useful to you, we would really appreciate it if you gave us a LIKE and mark the issue as SOLVED!

Hello @shop22dash ,

Can you please share store url and password if it is password protected.