Jump to content

Hover States for Footer Links in 7.1

Recommended Posts

Posted (edited)

Does anyone know how to make footer links display a different hover state (color)? I’ve already disabled the underline with this code:

footer .sqs-block-html a {
  background-image: none !important;
  background-repeat: no-repeat !important;
  text-decoration: none !important;
}

Now I’d like to have the hover state display in a different color. Can’t seem to find anything online and what I do find doesn’t work. I’m just a designer don’t know much about code other than where to put it in 7.1. 

Edited by cheriek
Added more information.
Posted
On 5/16/2021 at 4:49 AM, tuanphan said:

Add to Design > Custom CSS


/* footer links hover color */
footer.sections a:hover {
	color: red !important;
}

 

 

  • 10 months later...
  • 1 month later...
Posted
20 hours ago, IwanJ said:

Hi @tuanphan, hope you're well? I'm trying the above code on the footer of this site:

https://deep-learning-cafe.squarespace.com/

password: password123

I need to change the hover colour for the centre menu (to blue) and the right menu (to yellow)

Can you please help?

Add to Design > Custom CSS

/* Footer links hover */
div#block-c8b8e06bb4251545263a a:hover * {
    color: #2E7B98 !important;
}
div#block-a07cc8ebb76653972a81 a:hover * {
    color: #E1AD01 !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!)

  • 6 months later...
Posted

Hi @tuanphan 

I'm scratching my head as to why your code is not taking effect on this site...

footer .sqs-block-html a {
  background-image: none !important;
  background-repeat: no-repeat !important;
  text-decoration: none !important;
}
/* footer links hover color */
footer.sections a:hover {
    color: red !important;}

 Please advise ~ thank you so much!

https://alicia-schooler-hugg.squarespace.com/

alicia (lowercase)

Posted
On 12/6/2022 at 3:09 PM, authenticeye said:

Hi @tuanphan 

I'm scratching my head as to why your code is not taking effect on this site...

footer .sqs-block-html a {
  background-image: none !important;
  background-repeat: no-repeat !important;
  text-decoration: none !important;
}
/* footer links hover color */
footer.sections a:hover {
    color: red !important;}

 Please advise ~ thank you so much!

https://alicia-schooler-hugg.squarespace.com/

alicia (lowercase)

Change to this code (I added span tag)

footer .sqs-block-html a {
  background-image: none !important;
  background-repeat: no-repeat !important;
  text-decoration: none !important;
}
/* footer links hover color */
footer.sections a:hover span {
    color: red !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!)

Posted

Hi @tuanphan I'm having trouble with a footer that is linked to a folder. It does not expand to show the pages in the folder on hover like it does with the primary navigation links.

Any ideas?? 

Thanks

Posted
On 12/11/2022 at 7:26 PM, THESC said:

Hi @tuanphan I'm having trouble with a footer that is linked to a folder. It does not expand to show the pages in the folder on hover like it does with the primary navigation links.

Any ideas?? 

Thanks

What is your site url?

On 12/12/2022 at 1:00 PM, authenticeye said:

@tuanphan That worked! ... for that site!   Is it not a universal code?

I tried it on another website but it is not functioning.... how do I use the code for all sites with links in the footer?

This is the other site I added the code to:
https://www.michaelamcgivern.com/

Thank you for your time!

Rei

Use this CSS code

/* footer links hover color */
footer.sections a:hover {
    color: red !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!)

  • 1 year later...
Posted

Hi @tuanphan ! I used your code for the footer of my new site and it was working perfectly, but now it isn't working on a few links only. 

Not working for footer links to:

  • Wellness Templates in first column
  • Design Club in third column
  • Courses in third column

I've tried removing links and adding them again, removing the code and adding again, but still having this issue. Any assistance is much appreciated!! 🙏

https://www.plumcovecreative.com/

Posted
On 5/6/2024 at 7:05 AM, stephcornell said:

Hi @tuanphan ! I used your code for the footer of my new site and it was working perfectly, but now it isn't working on a few links only. 

Not working for footer links to:

  • Wellness Templates in first column
  • Design Club in third column
  • Courses in third column

I've tried removing links and adding them again, removing the code and adding again, but still having this issue. Any assistance is much appreciated!! 🙏

https://www.plumcovecreative.com/

You can use this new code

footer.sections a:hover, footer.sections a:hover * {
    color: #bfb0b6 !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!)

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.