Jump to content

Swap Image on Hover + Keeping the Image on Active

Recommended Posts

  • Replies 5
  • Views 765
  • Created
  • Last Reply

Top Posters In This Topic

@tuanphan

On Hover >> change to another logo - we got that working perfectly, no issues there. 

But in another thread, if you recall, you helped me with the footer links so that when you go to the About page, the ^About link stays pink to indicate you are on that page. Same with the ^Work link, ^Blog, etc.

I want the Part Time Evil Logos to stay pink when the user is on the home page. And go back to white when they are on a different page. 

Link to comment
On 1/27/2022 at 12:42 AM, pbueno24 said:

@tuanphan

On Hover >> change to another logo - we got that working perfectly, no issues there. 

But in another thread, if you recall, you helped me with the footer links so that when you go to the About page, the ^About link stays pink to indicate you are on that page. Same with the ^Work link, ^Blog, etc.

I want the Part Time Evil Logos to stay pink when the user is on the home page. And go back to white when they are on a different page. 

Add to Custom CSS

body:not(.homepage) footer.sections img {
    content: unset !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

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.