Jump to content

underline animation on footer links

Go to solution Solved by Spark-Plugin,

Recommended Posts

  • Replies 3
  • Views 466
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Hey there! Sure it is possible! Please follow these steps:

  1. Navigate to Pages > Website Tools > Custom CSS.
  2. Paste the following code into the CSS editor.

Important Notes:

  • Replace #ff5733 with the hex code of the color you want for the underline. You can also use color names, RGB, or HSL values if preferred.
/* Underline with a specific color on hover */
footer.sections .html-block a:hover {
    text-decoration: underline;
    text-decoration-color: #ff5733; /* Replace with your desired color */
}

/* Underline with a specific color on hover for the homepage design layout poster */
body.homepage .design-layout-poster:hover p {
    text-decoration: underline !important;
    text-decoration-color: #ff5733 !important; /* Replace with your desired color */
}

Let me know how it goes! Have a good one!

Edited by Spark-Plugin

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

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.