sarahgilchrist Posted November 13, 2020 Share Posted November 13, 2020 Site URL: https://beagle-tangerine-ex9m.squarespace.com/ Hi All, I wondered whether anyone could tell me how I can change the colour of the underline style site wide. I currently have H2 set to a custom underline but i'd like to make this style specific to when I use underline in markdown blocks <u>text</u> because when I use H2 it adjusts all the text on one line to being underlined and I would like to apply this underline style to specific words in text. This is the current CSS: h2 { text-decoration-line: underline; text-decoration-style: solid; text-decoration-color: #3effb1; text-decoration-thickness: 20px; } I've tried this code but nothing happened: .underline { text-decoration-line: underline; text-decoration-style: solid; text-decoration-color: #3effb1; text-decoration-thickness: 20px; } I'm new to coding so I have very little idea of what I'm doing haha. Any suggestions would be greatly appreciated! Below attached image shows what underlining currently does (has same colour as font) and above is an example of H2 with the desired colour I hope to achieve. Thanks, Sarah Link to comment
Beyondspace Posted November 13, 2020 Share Posted November 13, 2020 HI Sarah, Your site is private, please provide a password so we can check BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
sarahgilchrist Posted November 13, 2020 Author Share Posted November 13, 2020 1 hour ago, bangank36 said: HI Sarah, Your site is private, please provide a password so we can check I'm afraid it's not Live yet, is this an issue? Link to comment
Beyondspace Posted November 13, 2020 Share Posted November 13, 2020 Just now, sarahgilchrist said: I'm afraid it's not Live yet, is this an issue? You can set a temporary site wide pasword in Permission section BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
sarahgilchrist Posted December 9, 2020 Author Share Posted December 9, 2020 the password is: digitalnative Beyondspace 1 Link to comment
Beyondspace Posted December 9, 2020 Share Posted December 9, 2020 4 hours ago, sarahgilchrist said: the password is: digitalnative You already change the underline color, what wrong? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment