• Resolved jordanwarner

    (@jordanwarner)


    Hi, thanks for this great plugin!

    Quick question (forgive me if asked before – couldn’t find this in previous posts) – I know it’s possible to target the css for an entire ticker through the ID, but I’m wondering if it’s possible to give each tick its own class?

    I’m just hoping to style one tick differently than the rest, if possible.

    Thanks again!

    https://www.ads-software.com/plugins/ditty-news-ticker/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    There isn’t a way to add a custom class, but you can use the css nth-child selector to target a specific tick. Here’s an example (make sure to change the ID to your ticker’s ID):

    #mtphr-dnt-7-2 .mtphr-dnt-tick-contents .mtphr-dnt-tick:nth-child(2) {
      font-size: 24px;
    }
    Thread Starter jordanwarner

    (@jordanwarner)

    This is brilliant! thanks for the help!

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Marking as resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different css class for *each* tick?’ is closed to new replies.