Jump to content

Change Font + Background color on announcements bar when scrolling

Go to solution Solved by Web_Solutions,

Recommended Posts

  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
11 hours ago, ElizabethM said:

Hello

I would like to know if there is a way to change the color of the font + the background when scrolling down ? 

Many thanks ! 

 

Here is the code. You can change the color code that you want. Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

// Background color
.shrink .sqs-announcement-bar {
  background: #333 !important;
}
// Font color
.shrink .sqs-announcement-bar *{
  color: #fff !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.