Jump to content

Image Zooms in Upon Hover + Logo

Recommended Posts

Posted

Hello everyone,

We need a huge favour!

We were wondering if you can help us with the code to achieve the same effect as this website:

https://www.gettyimages.ae/?utm_medium=email&aid=38765&elqTrackId=8143679557fd4633899ca958a781a360&elq=d3c40384b13d4cc1b7c1b98f6ebbc448&elqaid=38765&elqat=1&elqCampaignId=21549&elqcst=272&elqcsid=23433

Upon Hover, the image zooms in with grey overlay and text appears. But please bear in mind only the image zooms in and the Text stays and remains the same size.

zen.thumb.jpg.ae02d7a191e23df205177b7ca6593756.jpg

In our case, we would like to know if possible to achieve the same effect but instead of text, we would like to substitute a logo (remains) in png format. 

Our desired outcome: The picture darken, zooms in and PNG appears that stays (doesn't zoom along)

zenx.thumb.jpg.adc0ebcca7141cecfb5493b8a15436c8.jpg

Our website:

https://ptphotography.squarespace.com/ptprojectssample

Please help us with the code for the first two images and we will figure our the code for the rest. Each image have their own unique logo so we need to assign the PNG on each image and not on the gallery/page entirely.

If it helps, I am attaching 2 image and png (with black stoke to show visibility) which can be found in our site:

 

1.

151204132_zen1.png.52032b0b74eb188d7239edaaf5417f3f.png1621233190_zen1.jpg.60f77deb2627b1086735ead1c47944a4.jpg

 

2.

 

Oakwood-logo.png.3f6ff2105b828d776af69122d415bb96.png

2141934580_Screenshot2020-12-10at10_08_10AM.png.28f0076cea19b70e673bfe29e21cd44f.png

 

Thank you in advance.

Stay safe,
K

  • Replies 2
  • Views 363
  • Created
  • Last Reply
Posted

Add to Home > Design > Custom CSS

.image-overlay.hovering {
    background-image: url(https://beaverhero.com/wp-content/uploads/2020/11/work-5382501_640-min.jpg);
    background-position: center center;
    background-size: 100px;
    background-repeat: no-repeat;
}

 

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.