Jump to content

How can I increase the size of the cross on the Announcement Bar?

Go to solution Solved by tuanphan,

Recommended Posts

On 3/26/2021 at 4:18 PM, scholarsayze said:

I just noticed, if I make the X bigger say 3.5em, is there a way to make it more centred? It drops to the bottom. Thanks!

have you solved it yet?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Not yet Tuanphan.

As my site is live I had to add some additional code like this:

/* ANNOUNCEMENT BAR CLOSE SIZE */
@media screen and (min-width:768px) {
.sqs-announcement-bar-close {
 font-size: 2.3em;}
}
 

So that this only takes effect on desktop for now. If I didn't it was making it look odd on mobile.

Please help if there is an alternative fix.

Thank you!

Link to comment
  • Solution
On 3/30/2021 at 2:55 PM, scholarsayze said:

Not yet Tuanphan.

As my site is live I had to add some additional code like this:

/* ANNOUNCEMENT BAR CLOSE SIZE */
@media screen and (min-width:768px) {
.sqs-announcement-bar-close {
 font-size: 2.3em;}
}
 

So that this only takes effect on desktop for now. If I didn't it was making it look odd on mobile.

Please help if there is an alternative fix.

Thank you!

Add to Design > Custom CSS

.sqs-announcement-bar-close:after {
    font-size: 2em;
    line-height: 1.5em;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.