How to: Override CSS PER BUTTON

Contains tips for configurators working with Aware IM
Post Reply
hpl123
Posts: 2593
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

How to: Override CSS PER BUTTON

Post by hpl123 »

Hi all,
This is a tip on how to override CSS like color of button in a form PER BUTTON. To do this you can use CSS selectors.

Screenshot:
Image

Instructions:
1. Make sure you have a UNIQUE tooltip added to the button, for example "This button does X".

2. Add the following CSS selector to the theme file of the theme you are using:
a[data-qtip="This button does X"] { background-color: #000 !important; };
Henrik (V8 Developer Ed. - Windows)
Post Reply