This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 14, 2017, 4:02 PM
68 Posts

font specification in a CSS being ignored

  • Category: Styles and Themes
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 3

I use style sheets for xPages all the time, but recently inherited several xPages applications, and have not noticed this issue before:

In a view control on an xPage, the view columns use a style called "viewColumn".  This style sheet includes a line that says:

font-family: Calibri;

But the xPage ignores that font selection.  It uses a default sans serif font instead, which is too big and doesn't match other parts of the xPage.  Why would a view column ignore the font setting in a style sheet? 

Apr 14, 2017, 6:01 PM
33 Posts
client or browser?

Is this in the client or a browser?

Apr 14, 2017, 6:07 PM
68 Posts
browser

Sorry, I forgot to include some details!  This is in Firefox.

Apr 17, 2017, 7:52 AM
33 Posts
Try F12

I suspect there is a CSS element that is applying to the element in question.

 

Open the page, hit F12 to bring up the developer tools.  You'll be able to select the misbehaving element using the inspector.  The computed CSS is shown in the right hand pane and can be used to see where it is getting the style font from.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal