Jump to content

Apply CSS code to bold text but exclude hyperlinks

Recommended Posts

  • Replies 1
  • Views 202
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

56 minutes ago, DPJ said:

Site URL: https://www.davidpauljones.com/palmstar-poppy

Hello, in Page Header Code Injection) what would I add to the code below to tell it to ignore bold text which is a hyperlink? (I have already assigned code for hyperlinks in Custom CSS).

  #block ID
strong
  {color: #6D6D6D      !important;}

Try

#block ID strong {
  color: #6D6D6D !important;
  font-weight: normal;
  text-decoration: none;
}

If it doesn't works, kindly share the protected password so we can take a look

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.