Jump to content

Custom colours on scrolling text

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

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! 

 

Screenshot 2022-10-13 at 20.10.00.png

Link to comment
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! 

 

Screenshot 2022-10-13 at 20.10.00.png

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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.