Jump to content

.sqs-announcement-bar-text, can't increase my announcement bar's font size on mobile

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://fife-deer-hznw.squarespace.com/

I'm using brine. 

I've tried a few methods in css to increase the marketing announcement bar's font size. Nothing's working. It's set at 13 and it's too small (I want all the sites fonts to be no smaller than 14px) 

.sqs-announcement-bar-text {font-size: 1.3rem !important;
}

seems to increase the font *line-height* but not the actual font *size* 

 

I've also tried:

@media only screen and (max-width: 640px) .sqs-announcement-bar-text, p { font-size: 14px; !important;}

This isn't working either. The "p" is being identified as a syntax error. 

What am I doing wrong? What gives? 

Edited by AKTX
Link to comment
  • 3 months later...
  • 2 weeks later...
  • 2 weeks later...
21 hours ago, Rafida said:

@tuanphan

It seems your proposed code above doesn't work on our 7.0 BRINE website.

Any ideas why?

Site: https://rafida.org
Pass: lastphasetesting3

/* resize announcement bar size */
@media screen and (max-width:640px) {
.sqs-announcement-bar-text * {
    font-size: 6px !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 year later...
On 11/18/2021 at 7:49 PM, IwanJ said:

@tuanphan

Hi there Tuan, hope you're well? Is it possible to reduce the height of the Announcement Bar?

Add to Design > Custom CSS

.sqs-announcement-bar-text {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.