Jump to content

adding hover overlay HELP!

Recommended Posts

Hello helpful people, I'm looking to add a 'dimming' overlay to an image when the curser hovers over it, my research tells me  I'll need to use CSS code; A. I am not overly confident with code but I'ts something I think I can handle B. It seems fluid engine has made things harder to do in that department.

If you've got this far I am also having trouble with text over an image it always to seems to mess up the image behind it, and you ca't seem to just select a font size it's just presets which is frustrating.

I look forward to hear from you with you're help (I hope😂)

 

Link to comment
  • Replies 1
  • Views 497
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

A: yes you need CSS
B: no fluid engine doesn't make it an more difficult

You need to use CSS like this:

#block-yui_3_17_2_1_1669460549609_145289:hover img {
  filter: brightness(85%);
  -webkit-filter: brightness(85%);
  -moz-filter: brightness(85%);
}

But remember to change the block ID to one from your website.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.