Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Increase font size in announcement bar

Solved

How can I enlarge the font size in my announcement bar?

randomchikibum
Excursionist
40 0 17

Hey,

 

I want to increase the font size of the announcement bar at the top of the page. 

 

Store link: https://0bc922.myshopify.com/ 

 

 

randomchikibum_0-1687804084649.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9085 2172 2681

This is an accepted solution.

Hi @randomchikibum ,

Try this.

  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" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
p.announcement-bar__message.h5 {
    font-size: 20px;
}

Result:

Ribe_Dagandara_0-1687805278496.png

You can change the size. 

I hope it help. 

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 16 (16)

Made4uo-Ribe
Shopify Partner
9085 2172 2681

This is an accepted solution.

Hi @randomchikibum ,

Try this.

  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" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
p.announcement-bar__message.h5 {
    font-size: 20px;
}

Result:

Ribe_Dagandara_0-1687805278496.png

You can change the size. 

I hope it help. 

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
WeAreFairTrade
Shopify Partner
26 0 13

This did not work for me. I am using the Turbo Seoul theme and there is no base.css file to add your code to. Does anyone know where to look in Turbo Seoul

Made4uo-Ribe
Shopify Partner
9085 2172 2681

Hi @WeAreFairTrade 

Would you mind to share your store URL? Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
WeAreFairTrade
Shopify Partner
26 0 13

Hi there
My store URL is www.wearefairtrade.com

All the best

Mark

Made4uo-Ribe
Shopify Partner
9085 2172 2681

Thanks for the info, 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:

 

.promo-banner__content strong {
    font-size: 16px;
}

 

And save. 

Result:

Made4uoRibe_0-1706897933102.png

 

 

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

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
WeAreFairTrade
Shopify Partner
26 0 13

Yes that has worked when I added it to styles.css.

 

Thank you very much

Made4uo-Ribe
Shopify Partner
9085 2172 2681

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

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
SCI_Containers
Tourist
5 0 1

Worked perfectly!  Thank you

Made4uo-Ribe
Shopify Partner
9085 2172 2681

That is nice it work in your store. Welcome.

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
MKpublishing
Tourist
8 0 2

This is very helpful, thank you so much! Is there a way to add a smaller size only for mobile?

Made4uo-Ribe
Shopify Partner
9085 2172 2681

Yes, did you aldready solve this in your store? If not, would you mind to share your store URL? Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
gameworn
New Member
4 0 0

I used your code on the Spotlight theme, file, assets/base.css and it will not change the font size at all. I changed the size from 10px to 100px with no changes to the size. Any Ideas?

Made4uo-Ribe
Shopify Partner
9085 2172 2681

Would you mind to share your store URL? Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
gameworn
New Member
4 0 0
I am located at stevenmikesportzcardz.ca
gameworn
New Member
4 0 0

Hi
I have found the error of my way. I did not notice the double underscore at p.announcement-bar__message.h5 until this morning It all works fine.

Thank You

Made4uo-Ribe
Shopify Partner
9085 2172 2681

Thats good to hear!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.