Jump to content

Replace Image on Hover

Go to solution Solved by Web_Solutions,

Recommended Posts

I am using this CSS code to replace my header logo on hover:

.header-title-logo a:hover img {
  visibility: hidden;
}
.header-title-logo a:hover {
  background-image: url('https://static1.squarespace.com/static/6525b0dea15e8e050ee9451a/t/6599e0a9609cd22a5c396167/1704583337793/faviconblue.png');
  background-size: contain;
}

I would like to do this same thing with the image block in my footer but I can't seem to figure it out. The image block is #block-505544e2e88117483012.

Site: kylebranzel.squarespace.com
Password: cssishard

Thanks in advance for your help!

Edited by kyle00428
Link to comment
  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution
16 minutes ago, kyle00428 said:

I am using this CSS code to replace my header logo on hover:

.header-title-logo a:hover img {
  visibility: hidden;
}
.header-title-logo a:hover {
  background-image: url('https://static1.squarespace.com/static/6525b0dea15e8e050ee9451a/t/6599e0a9609cd22a5c396167/1704583337793/faviconblue.png');
  background-size: contain;
}

I would like to do this same thing with the image block in my footer but I can't seem to figure it out. The image block is #block-505544e2e88117483012.

Site: kylebranzel.squarespace.com
Password: cssishard

Thanks in advance for your help!

Here is the code

.fe-block-505544e2e88117483012 .sqs-image-content:hover img {
    visibility: hidden
}
.fe-block-505544e2e88117483012 .sqs-image-content:hover {
    background-image: url('https://static1.squarespace.com/static/6525b0dea15e8e050ee9451a/t/6599e0a9609cd22a5c396167/1704583337793/faviconblue.png');
    background-size: contain;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.