Override Font Weight Applied By Jquery-mobile February 28, 2024 Post a Comment I am trying to make the font weight normal instead of bold which jquery mobile makes by default. Solution 1: If you inspect the rendered page with firebug or similar, you would see that at runtime html structure is quite different from source html, courtesy of jQuery-ui that generates the pretty box:<spanclass="ui-btn-inner ui-btn-corner-all"aria-hidden="true"><spanclass="ui-btn-text">Standard: 7 day</span><spanclass="ui-icon ui-icon-arrow-d ui-icon-shadow"></span></span>CopyYou want to add a css rule to override it: #cont.ui-btn-text{font-weight:normal;} CopyThe id reference is so that it only applies to this particular place; remove it if you want to apply normal font weight everywhere. Fiddle: http://jsfiddle.net/MECXW/9/Baca JugaHow To Set A Value And Placeholder Together For Input Text?Changing Jquery Mobile Data-theme DynamicallyHow To Update The Styles To A Listview In Jquery Mobile? Share You may like these postsGet Id Of Draggable ElementGet Last Li On A Line JqueryBody Border For All Pages - Css Print MediaCss 3 Scrollbar - Add Padding And Cursor? Post a Comment for "Override Font Weight Applied By Jquery-mobile"
Post a Comment for "Override Font Weight Applied By Jquery-mobile"