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

Added Custom Code for Announcement Bar Not Working


PattiG

Question

Site URL: https://www.emptymynest.com/

Hi,

I added this custom code to change the color of the announcement bar but the text does not show up.  Thoughts on bringing text forward? Thanks.

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

Link to comment

3 answers to this question

Recommended Posts

  • 0
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

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 0
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.

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