Support » Plugin: WP ULike » Customised styling to Unlike button

  • Resolved Richard Slade

    (@raslade)


    Hi there

    I’m using your plugin as a way to add voting buttons to my website, however i’d like the unlike button to be styled differently enough that the user won’t accidentally click it again. What would the selector be in the CSS to achieve this?

    Thanks
    Richard

Viewing 2 replies - 1 through 2 (of 2 total)
  • In case anyone else needs to know who this is done. You can change the CSS for an active button using the following:

    [data-ulike-status="2"] {
        styles here using !important;
    
    }
    Plugin Author Alimir

    (@alimir)

    Hey @raslade
    Sorry for my late answer! It’s ok, you’ve found it. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.