Answered: Not able to override default css class in custom css file
Answered: Not able to override default css class in custom css file
Hi.
I am trying to change the default image in select field with my custom image. Below are the classes declared in sencha-touch-debug.css which needs to be overriden for this change.
The highlighted red lines are responsible for applying the image and background respectively.
I tried to override these styles in my css class file by declaring them once again in my css class but these 2 highlighted properties are getting the priority anyhow and in spite of giving priority = important in my custom css file, I am not able to override them in my custom css files. Please see, If I comment the highlighted lines in sencha-touch-debug.css then only custom css classes are applied.
I was able to overcome this issue and applied following stylings to override the default styling by sencha and applied custom image on select field as below.
User Defined CSS >> Applied following styling to override the default sencha style for select field
Able to override the default styling of sencha cls and changed image of select field
Able to override the default styling of sencha cls and changed image of select field
I was able to overcome this issue and applied following stylings to override the default styling by sencha and applied custom image on select field as below.
User Defined CSS >> Applied following styling to override the default sencha style for select field