Iza Posted August 11, 2021 Share Posted August 11, 2021 Site URL: https://www.ornamental-studio.com Hi! I am curious if it is possible to change the color of the font of individual project link when hovering over. I found the post about similar problem, although the code changes the font colour of all the projects when hover on one of them : At the moment I have a standard setting in the Hawley template. Thanks in advance for helping! Iza Link to comment
tuanphan Posted August 14, 2021 Share Posted August 14, 2021 On 8/12/2021 at 4:47 AM, Iza said: Site URL: https://www.ornamental-studio.com Hi! I am curious if it is possible to change the color of the font of individual project link when hovering over. I found the post about similar problem, although the code changes the font colour of all the projects when hover on one of them : At the moment I have a standard setting in the Hawley template. Thanks in advance for helping! Iza Hi, Add to Design > Custom CSS ul.portfolio-hover-items-list li:nth-child(1) * { color: red; } ul.portfolio-hover-items-list li:nth-child(2) * { color: green; } ul.portfolio-hover-items-list li:nth-child(3) * { color: blue; } Iza 1 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
Iza Posted August 15, 2021 Author Share Posted August 15, 2021 On 8/14/2021 at 8:48 AM, tuanphan said: Hi tuanphan, Thank you very much it helped a lot! I save this code and the links turned permanently: red, green and blue. But I added another pice of the code with hover effect under, as I wanted the links to change colour form black to white when hover over. And it works 🙂 ul.portfolio-hover-items-list li:nth-child(1) * { color: black; } ul.portfolio-hover-items-list li:nth-child(2) * { color: black; } ul.portfolio-hover-items-list li:nth-child(3) * { color: black; } ul.portfolio-hover-items-list li:nth-child(1) :hover { color: white; } ul.portfolio-hover-items-list li:nth-child(2) :hover { color: white; } ul.portfolio-hover-items-list li:nth-child(3) :hover { color: white; } On 8/14/2021 at 8:48 AM, tuanphan said: Add to Design > Custom CSS ul.portfolio-hover-items-list li:nth-child(1) * { color: red; } ul.portfolio-hover-items-list li:nth-child(2) * { color: green; } ul.portfolio-hover-items-list li:nth-child(3) * { color: blue; } LJ_ 1 Link to comment
tuanphan Posted August 16, 2021 Share Posted August 16, 2021 16 hours ago, Iza said: But I added another pice of the code with hover effect under, as I wanted the links to change colour form black to white when hover over. And it works 🙂 ul.portfolio-hover-items-list li:nth-child(1) * { color: black; } ul.portfolio-hover-items-list li:nth-child(2) * { color: black; } ul.portfolio-hover-items-list li:nth-child(3) * { color: black; } ul.portfolio-hover-items-list li:nth-child(1) :hover { color: white; } ul.portfolio-hover-items-list li:nth-child(2) :hover { color: white; } ul.portfolio-hover-items-list li:nth-child(3) :hover { color: white; } You still need help or fixed all? 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
Iza Posted August 19, 2021 Author Share Posted August 19, 2021 All fine tuanphan, thanks again! I just added code as reference, if someone needs that function to work. 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