Jump to content

Announcement Bar Line Height is wonky on mobile

Go to solution Solved by tuanphan,

Recommended Posts

When I look at the announcement bar on mobile, the line height is messed up and scrunched together. 

This is the code I tried using. It's nice that it makes the bar bigger on mobile, but now I need to adjust the line height. 

@media screen and (max-width:991px) {
.sqs-announcement-bar-text { height: 10vw !important;
line-height: 40px !important;

Link to comment
  • Replies 6
  • Views 270
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 6/5/2024 at 10:08 PM, MariElisabeth said:

Thank you tuanphan

however, that doesn't seem to make a difference. It seems to me that we would change the line height?


That will remove space under text, to remove space + adjust line height, use this code

@media screen and (max-width:767px) {
.sqs-announcement-bar-text {
    height: unset !important;
.sqs-announcement-bar-text p {
    line-height: 20px !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.