How can I change the header size in Dawn 12 theme?

Topic summary

Goal: Make the Dawn 12 theme’s header and announcement bar thinner on both desktop and mobile.

Context: The requester shared their store URL for review. Screenshots were referenced to show current settings and the desired slimmer result.

Solution provided:

  • Remove excess padding from the announcement bar and header via custom CSS.
  • Steps: Shopify admin → Online Store → Themes → Edit code → Assets → open base.css/style.css/theme.css → add CSS to reduce announcement bar min-height/top padding, header link padding, and overall header padding.
  • Note: To slim further, the logo size may need to be reduced.

Outcome: The CSS changes worked immediately after copy/paste. The requester confirmed success.

Status: Resolved; no open questions.

Summarized with AI on January 7. AI used: gpt-5.

Hi,

Can someone please help me figure out how to change the size of the header & announcement bar. I would like for both of them to be thinner, on desktop and mobile.

These are the current settings for the header:

Thank you very much in advance :slightly_smiling_face:

1 Like

Hi @Nik11

Would you mind to share your store URL? Thanks!

Sure :slightly_smiling_face: here it is: www.romapetsboutique.com

Thanks!

1 Like

Thanks for the info, Do you mean like this?

i already take all out the padding. But if you like to make it more you need to lesser the logo.

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:

.announcement-bar__message.h5 {
    min-height: 2rem;
    padding-bottom: 0px;
    padding-top: 8px;
}

.header__heading-link {
    padding: 0 .75rem;
}
.header {
    padding: 0px 10px !important;
}

And Save.

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

1 Like

Done! Simple copy/paste and It worked!! :grinning_face_with_smiling_eyes: Thank you so much!!

1 Like