Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › CSS Class? › Reply To: CSS Class?
October 4, 2017 at 11:51 am
#14993
Hi Earl,
The CSS class of that button is ‘asp_text_button’, so you can create a rule as example:
div.asp_text_button {
/* Your rules here.. */
}
However I see that there are inline style properties on every search element added, perhaps the slider is making that change, which will make it a bit harder to override those rules – as inline styles have higher specificity as class styles.
To resolve that, you might have to use the css rules with the !important modifier, like for example if you want to force a different font-size, then:
div.asp_text_button {
font-size: 22px !important;
}
The !important keyword can be used in every rule. I hope this helps!
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)