byebarcelona Posted February 1, 2023 Posted February 1, 2023 (edited) I try to use the following code to change the hover profile on my homepage, however every time I refresh the website, the original picture's id continuously changed. Anybody knows how to make this id fixed so that I can make this code work? Many thanks. Here's my website link https://www.shiqius.com/ Edited February 4, 2023 by byebarcelona
Beyondspace Posted February 1, 2023 Posted February 1, 2023 14 hours ago, byebarcelona said: I try to use the following code to change the hover profile on my homepage, however every time I refresh the website, the original picture's id continuously changed. Anybody knows how to make this id fixed so that I can make this code work? Many thanks. Can you share your URL so I can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!
byebarcelona Posted February 4, 2023 Author Posted February 4, 2023 On 2/1/2023 at 7:40 AM, Beyondspace said: Can you share your URL so I can take a look? Thank you so much for response! I have updated my URL in original post
Beyondspace Posted February 6, 2023 Posted February 6, 2023 Which image do you refer? I think this id would not change BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!
byebarcelona Posted February 6, 2023 Author Posted February 6, 2023 5 hours ago, Beyondspace said: Which image do you refer? I think this id would not change Thank you very much. I found the fixed image ID. But this time when I tried this code, and the hover image would enlarge... I have tried smaller image, the hover image would still enlarge in same level... I want to keep the hover image and the original image at the same size. What should I do? Screen Recording 2023-02-06 at 1.20.54 PM.mov
tuanphan Posted February 10, 2023 Posted February 10, 2023 On 2/7/2023 at 4:22 AM, byebarcelona said: Thank you very much. I found the fixed image ID. But this time when I tried this code, and the hover image would enlarge... I have tried smaller image, the hover image would still enlarge in same level... I want to keep the hover image and the original image at the same size. What should I do? Screen Recording 2023-02-06 at 1.20.54 PM.mov Use this class name instead #block-yui_3_17_2_1_1674928119223_7236:hover img 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
Create an account or sign in to comment
You need to be a member in order to leave a comment