Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
505
font-weight: bold not working in grid header
posted

We are having the issue with header font in the web grid in volume 2007.3. We have a css class given below with bold font.

.lnav_hdr {
 background-color: #486DC8;
 color:#ffffff;
 /*color:#FBCE37;*/
 font-family: verdana;
 font-size: 11px;
 letter-spacing: .3px;
 font-weight: bold;
 padding-bottom: 3px;
 padding-top: 3px;
 padding-left: 10px;
}

We are applying the above header as follows. Everything is coming as expected except for the bold. Is anyone have similar issues? Let me know

Thanks.

<HeaderStyleDefault HorizontalAlign="Left" CssClass="lnav_hdr">

<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails>

</HeaderStyleDefault>

Parents
No Data
Reply
  • 5
    posted

    I had your same problem. What worked for me was to put in the CSS file exactly this order:
    .RowStyle
    .AlternateRowStyle
    .HeaderStyle
    AND setting  OptimizeCSSClassNamesOutput="False".

    Only by reordering the styles in the CSS file or setting the OptimizeCSSClassNamesOutput didn't work. Both things had to be combined.

    HTH

    Julio

Children
No Data