HollyCurry Posted October 12, 2022 Share Posted October 12, 2022 Site URL: https://www.thepositivepracticalparent.com/ Hi, I'd like to have the scrolling text at the top of my page alternate colours, so using odd/even parameters. Does anyone know the css I'd use for this? Thank you! Holly Link to comment
Beyondspace Posted October 13, 2022 Share Posted October 13, 2022 On 10/12/2022 at 7:29 PM, HollyCurry said: Site URL: https://www.thepositivepracticalparent.com/ Hi, I'd like to have the scrolling text at the top of my page alternate colours, so using odd/even parameters. Does anyone know the css I'd use for this? Thank you! Holly Which text do you want to change on scrolling? Can you show some screenshots? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
HollyCurry Posted October 13, 2022 Author Share Posted October 13, 2022 Hi @bangank36 thanks for your reply. I've attached a screenshot, it's the scrolling text right under the hero section. I'd like alternate ones to be green not pink, so it would be green, pink, green, pink etc.... I've see css for odd and even content, but it doesn't seem to work for the scrolling text block. Thank you! Link to comment
Beyondspace Posted October 14, 2022 Share Posted October 14, 2022 20 hours ago, HollyCurry said: Hi @bangank36 thanks for your reply. I've attached a screenshot, it's the scrolling text right under the hero section. I'd like alternate ones to be green not pink, so it would be green, pink, green, pink etc.... I've see css for odd and even content, but it doesn't seem to work for the scrolling text block. Thank you! I try this css code .Marquee-svg-text .Marquee-svg-text:nth-child(odd) { color: red; } .Marquee-svg-text .Marquee-svg-text:nth-child(even) { color: orange ; } Support me by pressing 👍 if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
HollyCurry Posted October 14, 2022 Author Share Posted October 14, 2022 Thank you @bangank36 but it didn’t 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