Shopify themes, liquid, logos, and UX
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 🙂
Solved! Go to the solution
This is an accepted solution.
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!
Hi @Nik11
Would you mind to share your store URL? Thanks!
This is an accepted solution.
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!
Done! Simple copy/paste and It worked!! 😄 Thank you so much!!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025