mark6 Posted May 28, 2021 Posted May 28, 2021 Site URL: https://www.artisaneyeworks.com/dr-kimberly-hoyt I want to have a second image revealed on hover, and found the code below to make this happen. I've found that it does swap the images on hover, but the second image scales to a smaller size. I'd like it to fill the same foot print as the first image. Any suggestions? <p> <style> img.normal { width: 90%; } </style> <div class="image-swap"> <img class="normal" src="https://static1.squarespace.com/static/602c181598bd112424ba15a3/t/60789706cc385b4d98096b7e/1618515718253/dr_kimberly_hoyt_3x2.jpg"> <img class="normal" src="https://static1.squarespace.com/static/602c181598bd112424ba15a3/t/60789c9b6bfac2330ee3af5a/1618517148091/dr_kimberly_hoyt_3x2_02.jpg"> </div> </p>
tuanphan Posted May 29, 2021 Posted May 29, 2021 Hi. Follow this guide to make imave change on hover. 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!)
mark6 Posted May 31, 2021 Author Posted May 31, 2021 Tuanphan, I tried the steps outlined in the guide you recommended, and was not successful. Attached are screenshots of my steps. Please let me know if I made any mistakes or if you have any recommendations. Thanks!
mark6 Posted May 31, 2021 Author Posted May 31, 2021 I just realized I didn't give you the URL for the page. fetchpdx.squarespace.com/hover-effect
tuanphan Posted June 1, 2021 Posted June 1, 2021 19 hours ago, mark6 said: I just realized I didn't give you the URL for the page. fetchpdx.squarespace.com/hover-effect The image url doesn't exist. Can you check it again? https://fetchpdx.com.squarespace/s/onigiri_02.png 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!)
mark6 Posted June 2, 2021 Author Posted June 2, 2021 Thanks for all your help! I realize where I made mistakes.
tuanphan Posted June 4, 2021 Posted June 4, 2021 On 6/2/2021 at 12:08 PM, mark6 said: Thanks for all your help! I realize where I made mistakes. Do you need support with these? Site URL: https://www.artisaneyeworks.com/ 1. (Mobile-Homepage) Reduce icon size? 2. (Tablet-Footer) Align 3 lines? 3. (Tablet/Mobile-Overlay Menu) Change logo color? 4. (Mobile-Our Staff) Move image to top of text? 5. (Tablet-Our Optometry Services) Increase width a bit? 6. (Tablet-Blog Posts) Increase width? 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.