Jump to content

Remove the underlink from a link in the footer only

Recommended Posts

SS uses linear gradient to create link underline. You can use above code, or add this to Home > Design > Custom CSS

/* remove footer underline links */
footer#footer-sections a {
    background-image: unset;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
2 minutes ago, tuanphan said:

SS uses linear gradient to create link underline. You can use above code, or add this to Home > Design > Custom CSS

I switched back to regular type using text-decoration and I like it better. It intersects letters that drop below in a more pleasing fashion.

Y did they do such things?! 😋

Creating websites using Squarespace at Design by Donuts 🍩

Link to comment
  • 10 months later...
  • 2 weeks later...
On 3/12/2021 at 4:52 AM, Stefanjokull said:

@tuanphan This code stopped working all of a sudden. Any ideas why?

Use this new code

/* remove footer underline links */
footer#footer-sections a {
    background-image: unset;
	text-decoration: none !important;
	border: none !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 3/21/2021 at 5:10 AM, tuanphan said:

Use this new code


/* remove footer underline links */
footer#footer-sections a {
    background-image: unset;
	text-decoration: none !important;
	border: none !important;
}

 

Thank you SO much for this! I have been trying so hard to figure out why this code was no longer working :-)

Link to comment
  • 2 years later...

Thank you Grace, that worked for me!

Can you tell me how I give the footer links a hover style? I tried this and it is not doing anything:

footer#footer-sections a:hover {color: #FE5F30}

Likely wrong code, but I'm learning as I go!

Thank you!

 

Link to comment
On 3/12/2024 at 11:36 PM, Javdesign said:

Thank you Grace, that worked for me!

Can you tell me how I give the footer links a hover style? I tried this and it is not doing anything:

footer#footer-sections a:hover {color: #FE5F30}

Likely wrong code, but I'm learning as I go!

Thank you!

 

Try this. If it still doesn't work, please share site url, we can check easier

footer#footer-sections a:hover, footer#footer-sections a:hover * {
	color: #FE5F30;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.