How can I reduce the size of text in my announcement bar?

I want to make the text in the announcement bar a bit smaller, it is to big now. Can someone tell me how to do this? Thanks in advance.

Here you can see the way it looks now:
https://www.withdahw.com/

1 Like

I would check the settings of your theme to see if there are any settings for this. If not you can use the following css and adjust the font-size of the announcement bar.

p.announcement-bar__message.h5 {
    font-size: 14px;
}

Hi @mira777

Check 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:

p.announcement-bar__message.h5 span {
    font-size: 12px !important;
}

And save.

Result:

You can increase the size you like.

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