Thursday 15 August 2013

Sencha Touch: Modify Search Field Icon Color

As requested by one of my reader, today we are going to see how to change the color of the MAGNIFYING GLASS icon in the Search Field on Sencha Touch 2 (using CSS property).

By default, this is how the look and feel of the Search Field Icon


.x-field-search .x-field-input:before {
          background-color: #000 !important;
}

Above CSS Code, will make the MAGNIFYING GLASS icon color to Black.


Hope, you enjoyed this Post.

No comments:

Post a Comment