reveriecreativeagency Posted April 6 Posted April 6 (edited) Hi there! I'm trying to find a CSS code that will change the color of my portfolio item titles/links when the mouse hovers over them. The portfolio layout I'm using in Squarespace is "Hover: Background" (see attached screenshot). I tried adding the following code to the Custom CSS section of the website's global settings, but it only seem to be working on hyperlinks: h1, h2, h3, h4, p { a { transition: 0.2s; &:hover { color: #000000 !important; } } } Is there a crucial step I'm missing, or am I using the wrong code altogether? Thank you! Edited April 6 by reveriecreativeagency My title was incomplete.
Solution tuanphan Posted April 8 Solution Posted April 8 Portfolio Hover Background, needs this CSS code a.portfolio-hover-item:hover * { color: #000 !important; } 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