Walush Posted October 12 Share Posted October 12 (edited) Hello! I choose to have a hovering animation for my portfolio categories so it could be more fun and dynamic, but the problem is that the color does not change once the image appears behind it. In some cases it's not bothering me, but in others the text just isn't readable. I tried to add a personalized CSS code, but I must admit that I'm not really a coder and nothing has worked yet. Is it possible to change the color of the text when it's hovering over the image? What would be the best for contrast would be a difference effect on the text, but I don't know if that's possible. Please let me know! Thank you ☺️ Edited October 12 by Walush Link to comment
tuanphan Posted October 15 Share Posted October 15 Hi, What is site url? I think we can use line of code to change text color on hover Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Walush Posted October 17 Author Share Posted October 17 On 10/15/2023 at 8:14 AM, tuanphan said: Hi, What is site url? I think we can use line of code to change text color on hover Hello @tuanphan! https://www.valentinfolliet.com/home , and the code is odak2023 Thank you! Link to comment
Solution tuanphan Posted October 19 Solution Share Posted October 19 Try adding to Website Tools (under Not Linked) > Custom CSS a.portfolio-hover-item[data-active="true"] * { color: white !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Walush Posted October 19 Author Share Posted October 19 (edited) 35 minutes ago, tuanphan said: Try adding to Website Tools (under Not Linked) > Custom CSS a.portfolio-hover-item[data-active="true"] * { color: white !important; } It worked, thank you so much! Though, I'm having another issue : when the text is longer than the photo, the part of the text which is not hovering appears white too, making it unreadable on the white background. Is there a possibility to code the text to interact only on the part on the photo? Now: And more something like this: Thank you!! Edited October 19 by Walush 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