Jump to content

SCROLLING TEXT ALTERNATE COLORS

Recommended Posts

Hoping for some help to update scrolling text block on my homepage to style differently. The title of the event (line 1 of 6 in scrolling text) I would like bold. The remaining lines (2-5) I would like regular weight. If this is not possible, I am open to lines (2-6) being in a different color. Can anyone provide code to show visual separation (font weight or color) of my event title and the artists names? Any help so appreciated!!!

Site: https://smoothjazzgetaway.squarespace.com/

Password: BLUES

 

Link to comment
  • Replies 6
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

On 9/23/2023 at 12:17 AM, ColeH_design said:

Yes – EXACTLY! Yes!!! THANK YOU! And, is it possible to code to make the "BALLROOM BLUESFEST" line a heavier font weight then the artists names? This is fantastic! THANK YOU!!

Add this to Website > Website Tools > Custom CSS

tspan.Marquee-svg-text:nth-child(odd) {
    color: red;
    font-weight: bold !important;
}
tspan.Marquee-svg-text:nth-child(even) {
    color: black;
}

 

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

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.