Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change color of individual toggle

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #234870
    papdronning
    Participant

    I’ve created a toggle on this page:
    http://707dad025009e0fad9b999de0964c1c9435e4604.web7.temporaryurl.org/omraadet/

    I need the text to have a different color for each toggle and I’ve added classes to each (redtoggle, bluetoggle, greentoggle), but can’t seem to get the text to change color. I’ve tried e.g.:

    .redtoggle.cmsms_toggle_title {color:#ffa3a3!important;}
    

    But that doesn’t work.

    #234873
    michaellee
    Participant

    Hey, I just visited the site and couldn’t find any toggles. Can you point out where the toggles are located to try out the feature you’re trying to implement? Are you trying to change the text color for the whole site?

    #234876
    papdronning
    Participant

    If you click the link there’s three toggles. Radius: 10 km, 50 km and 100 km

    I’m trying to give each “Radius: x km” it’s own color

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.