Ptphotography Posted December 10, 2020 Posted December 10, 2020 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. 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) 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. 2. Thank you in advance. Stay safe, K
tuanphan Posted December 12, 2020 Posted December 12, 2020 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!)
Ptphotography Posted December 13, 2020 Author Posted December 13, 2020 @tuanphan thank you for reaching out! I have tried adding it in custom css but it doesn't work for me, can you please check 🙏
Recommended Posts
Archived
This topic is now archived and is closed to further replies.