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
11288 2212 2381

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? 

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Made4uo-Ribe
Shopify Partner
10036 2385 3012

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.