Override Font Weight Applied By Jquery-mobile May 24, 2023 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: <span class="ui-btn-inner ui-btn-corner-all" aria-hidden="true"> <span class="ui-btn-text">Standard: 7 day</span> <span class="ui-icon ui-icon-arrow-d ui-icon-shadow"></span> </span> Copy You want to add a css rule to override it: #cont .ui-btn-text{font-weight:normal;} Copy The 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 Change State Of A Switch Dynamically Using Jquery?How To Remove White Space When Image Loading?Add Dynamically Reading From A Folder Photoswipe Purpose Share You may like these postsHow To Change Amcharts Pie Themes?Html Placeholder Browser CompatibilityGetting Text At Clicked Location In An Html ElementPure Javascript Replacement For :hover Post a Comment for "Override Font Weight Applied By Jquery-mobile"
Post a Comment for "Override Font Weight Applied By Jquery-mobile"