Jump to content

code to override text decoration not pulling through

Go to solution Solved by Web_Solutions,

Recommended Posts

Hi there, 

I need an anchor link in announcement bar to have no underline. I have coded in text-decoration: none !important; but it isn't pulling through as priority. It is still pulling through the SS styling of text-decoration: underline !important;.  See below screenshot below

Is there any way to change priority for this. 

Here is the site: https://pear-parakeet-rn6z.squarespace.com/
PW is: Jasmine

ScreenShot2024-07-02at12_09_02pm.png.27b388d5477e7b0e9235759fed3ae30b.png

 

Link to comment
  • Replies 2
  • Views 898
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
2 hours ago, Jaz_Currie_12 said:

Hi there, 

I need an anchor link in announcement bar to have no underline. I have coded in text-decoration: none !important; but it isn't pulling through as priority. It is still pulling through the SS styling of text-decoration: underline !important;.  See below screenshot below

Is there any way to change priority for this. 

Here is the site: https://pear-parakeet-rn6z.squarespace.com/
PW is: Jasmine

ScreenShot2024-07-02at12_09_02pm.png.27b388d5477e7b0e9235759fed3ae30b.png

 

Replace your code with the code bellow. 

#header .sqs-announcement-bar-text a {
  text-decoration: none !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.