Override Font Weight Applied By Jquery-mobile June 06, 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 JugaHtml Tag Attribute "data-setbg" Is Not Working In React ProjectMake Html Canvas Fit ScreenDetect Css Text-overflow Ellipsis With Jquery Share You may like these postsJquery Mobile - $(document).ready Not FiringWhat Is Wrong With This Code Please? (form Passing Variables)Swipe To Switch Page With JqueryJquery Mobile: Change The Header Of A Listview Post a Comment for "Override Font Weight Applied By Jquery-mobile"
Post a Comment for "Override Font Weight Applied By Jquery-mobile"