DevonHarris Posted December 31, 2023 Share Posted December 31, 2023 hi! Wondering if anyone can assist me in targeting only certain items in the Marquee Block. I'm looking to change the font color on the 2nd, 4th and 6th items. I tried the following but it didn't work 😞. Hopefully someone has a solution! .Marquee * nth-child(2) { color:red!important; }  Link to comment
tuanphan Posted January 2 Share Posted January 2 Use some code like this textPath.Marquee-svg-text:nth-child(2n+1) { color: red !important; } n run from 0, 1, 2... if you need to target items 2, 4, 6... use nth-child(2n)  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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment