Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

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


AKTX
Go to solution Solved by tuanphan,

Question

Posted (edited)

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 post
  • Answers 8
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

@media screen and (max-width:640px) { .sqs-announcement-bar-dropzone p { font-size: 8px; } }  

It didn't for 7.1, but tweaking it to this worked:   .sqs-announcement-bar { p {      @media(max-width:799px){   font-size: 14px !important;}   } } thank you!

8 answers to this question

Recommended Posts

  • 0
@media screen and (max-width:640px) {
	.sqs-announcement-bar-dropzone p {
    font-size: 8px;
}
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
11 hours ago, kfalconer said:

is there a way to do this in 7.1? Thank you!

I think the code should work in both 7.0, 7.1. If it doesn't work, can you share site url? We can check easier.

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
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;
}
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...