make announcement bar height smaller dawn

Solved

make announcement bar height smaller dawn

ads18922
Pathfinder
181 0 51

hello, i want to make the height of my announcement bar smaller

Screenshot 2025-01-07 at 12.28.40.png

this is my website, i want it to look like this:

IMG_4959.jpg

my website is marcomontesi.com , theme is dawn

Accepted Solution (1)

DaisyVo
Shopify Partner
4442 492 587

This is an accepted solution.

Hi @ads18922 ,

You can follow the steps here:

 

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

 

Here is the code for step 3:

.announcement-bar .slider-button {
    height: 30px !important;
}
p.announcement-bar__message.h5 {
    padding: 0;
    min-height: unset !important;
}

Here is the result:

DaisyVo_0-1736254115042.png

 

Please let me know if it works!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

View solution in original post

Replies 3 (3)

topnewyork
Astronaut
1368 165 224

Hello, @ads18922 
1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom

 

 

 

.page-width.utility-bar__grid {
    padding: 0;
    margin: 0;
    height: 38px !important;
    display: flex !important;
    align-items: center;
}

p.announcement-bar__message.h5{
  font-weight: 700 !important;
  font-size: 15px !important;
}

 

 

 Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

DaisyVo
Shopify Partner
4442 492 587

This is an accepted solution.

Hi @ads18922 ,

You can follow the steps here:

 

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

 

Here is the code for step 3:

.announcement-bar .slider-button {
    height: 30px !important;
}
p.announcement-bar__message.h5 {
    padding: 0;
    min-height: unset !important;
}

Here is the result:

DaisyVo_0-1736254115042.png

 

Please let me know if it works!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

Made4uo-Ribe
Shopify Partner
10202 2422 3068

Hi @ads18922 

Do you like the font sizes to change or make the back ground smaller width like the example? If only the font try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

p.announcement-bar__message.h5 {
    font-size: 1rem !important;
    font-weight: 900 !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736254277439.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.