Support » Plugin: WP User Stylesheet Switcher » Show Current Style?

  • Resolved kendallinternet

    (@kendallinternet)


    Would it be possible to add JavaScript to the buttons to change the icon styling such that the current style button is highlighted – e.g. add a colored / bold border?

    I use your excellent plugin to provide my customers with a choice of styles for new websites during the build process.

    I use numbered icons to enable them to change styles, but without the above extra button styling onClick, there’s no easy way for my customers to tell me which style button they’ve selected – to identify their favorite style.

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

    (@vgstef)

    Hello Kendallinternet,

    I’m not sure to understand.

    With CSS, you can customize the appearance of the active button. The active button gets the class “wp_user_stylesheet_switcher_active_option” when it is activated.

    Does that solves your problem?

    vgStef

    Hi St├ęphane,

    Ah yes – many thanks – I missed that, it now works very well.

    Greg

    Plugin Author vgstef

    (@vgstef)

    Great!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show Current Style?’ is closed to new replies.