Jump to content

Added Custom Code for Announcement Bar Not Working

Go to solution Solved by paul2009,

Recommended Posts

  • Solution
2 hours ago, PattiG said:

.sqs-announcement-bar-url {
background-color: #2C86C5;
}
.sqs-announcement-bar-text p, .sqs-announcement-bar-text a {
color: #ffffff;
}

The CSS is incorrect. If you remove the lines above, your announcement bar will work as normal. 

You don't need CSS to modify the announcement bar colours. You can set them in Design > Site Styles:

1748283405_Screenshot2021-03-27at13_13_10.thumb.png.c0eee14400e5cab4760575afd8ba81ee.png

Edited by paul2009

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
On 3/27/2021 at 10:13 PM, PattiG said:

Thank you, Paul!  I had to take a few more steps but that worked. Many thanks for the guidance.

Hey. I see the footer on tablet doesn't look good.

You can add this CSS to adjust some columns width

/* footer tablet */
@media screen and (max-width:991px) and (min-width:768px) {
footer.sections .content {
    width: 90% !important;
}
}

image.thumb.png.aba189c259887fec1b02fcf02ebb80ec.png

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.