Tundra_Tides Posted July 11 Share Posted July 11 I've spent the last couple of hours trying several different CSS code snippets found on other forum posts, and asked ChatGPT to write a snippet, and cannot get any to work. There are three images on my home screen, i'm trying to get them to lighten when the mouse hovers over them Please help! Link to comment
derricksrandomviews Posted July 11 Share Posted July 11 What is your website address? Link to comment
Tundra_Tides Posted July 11 Author Share Posted July 11 (edited) 37 minutes ago, derricksrandomviews said: What is your website address? www.tundratides.com Edited July 11 by Tundra_Tides Link to comment
Solution tuanphan Posted July 13 Solution Share Posted July 13 You can use this code to Website Tools > Custom CSS div#block-e05ca4f3a9549e2c02bd:hover img, div#block-268daae426b3587a1f7b:hover img, div#block-19a0ea73c5dae009babc:hover img { opacity: 0.5; } 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!) Link to comment
Tundra_Tides Posted July 16 Author Share Posted July 16 On 7/13/2024 at 10:31 AM, tuanphan said: You can use this code to Website Tools > Custom CSS div#block-e05ca4f3a9549e2c02bd:hover img, div#block-268daae426b3587a1f7b:hover img, div#block-19a0ea73c5dae009babc:hover img { opacity: 0.5; } Thanks for this however it hasn't worked. (I updated the block IDs so they are correct to what's on the page since I changed it, but still no dice) The updated page is this https://www.tundratides.com/discover The block IDs i'm using are: #block-e05ca4f3a9549e2c02bd #block-268daae426b3587a1f7b #block-19a0ea73c5dae009babc What am I doing wrong? Link to comment
tuanphan Posted July 19 Share Posted July 19 On 7/17/2024 at 1:56 AM, Tundra_Tides said: Thanks for this however it hasn't worked. (I updated the block IDs so they are correct to what's on the page since I changed it, but still no dice) The updated page is this https://www.tundratides.com/discover The block IDs i'm using are: #block-e05ca4f3a9549e2c02bd #block-268daae426b3587a1f7b #block-19a0ea73c5dae009babc What am I doing wrong? I just tested it again on my browser and it still works. You try move the code to top of Custom CSS box. If it still doesn't work, you can keep the code in CSS box, I can check again easier. div#block-e05ca4f3a9549e2c02bd:hover img, div#block-268daae426b3587a1f7b:hover img, div#block-19a0ea73c5dae009babc:hover img { opacity: 0.5; } 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!) Link to comment
Tundra_Tides Posted July 19 Author Share Posted July 19 4 hours ago, tuanphan said: I just tested it again on my browser and it still works. You try move the code to top of Custom CSS box. If it still doesn't work, you can keep the code in CSS box, I can check again easier. div#block-e05ca4f3a9549e2c02bd:hover img, div#block-268daae426b3587a1f7b:hover img, div#block-19a0ea73c5dae009babc:hover img { opacity: 0.5; } Should I be putting this in the advanced menu -> Custom Code Injection, or somewhere else? It's the only code in there Link to comment
tuanphan Posted July 25 Share Posted July 25 On 7/19/2024 at 8:52 PM, Tundra_Tides said: Should I be putting this in the advanced menu -> Custom Code Injection, or somewhere else? It's the only code in there No. Custom CSS box 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!) Link to comment
Tundra_Tides Posted July 26 Author Share Posted July 26 On 7/25/2024 at 8:33 AM, tuanphan said: No. Custom CSS box Ahh gotcha. That's worked! Thanks very much Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment