Why isn't my code to increase font size working?

Why isn't my code to increase font size working?

rafe1337
Visitor
1 0 1

Hey guys,

currently trying to increase the font size on my main menu and announcement bar.

 

In my theme.liquid I have the following code:

<style>

@media screen and (min-width:767px){
.banner__heading {
font-size: 50px !important;
}
.banner__box{
left:-28% !important;
}
}

</style>

 

and in my base.css (this is for the annoucement bar) I have:

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

 

Neither are making any changes, noticing this alot the last day or two - also had an issue with custom font assets but fixed that through an app.

 

 

 

 

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
11612 2276 2456

Hi @rafe1337 

I guess you are using the wrong class name for your main menu and announcement bar. Could you share your store URL so I can check? 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Made4uo-Ribe
Shopify Partner
10132 2403 3037

Hi @rafe1337 

Would you mind sharing 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.