Conversation
supportWould 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.
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
Great!
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
Great!