Jump to content

Added Custom Code for Announcement Bar Not Working

Recommended Posts

  • Replies 3
  • Views 606
  • Created
  • Last Reply
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

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.