Genie Subfile font setting?

Use this board to ask questions or have discussions with other Genie users.
Post Reply
Larelyn
Profound User
Posts: 30
Joined: Thu Mar 20, 2014 2:31 pm
First Name: Lisa
Last Name: Lawrence
Company Name: The Scoular Company
Contact:

Genie Subfile font setting?

Post by Larelyn »

I am trying to change Genie to display automatically-detected subfiles in a fixed-width font. I'd like to do this across the skin environment instead of enhancing each subfile screen individually. Our skin is a copy of the Hybrid skin. I have our skin set to globally use fixed-width font, but that setting doesn't seem to apply to automatically-detected subfiles.

I'm stumped at where I can change this. There is no option in the Genie Administration, and when I inspect the elements, Verdana comes up as part of the element.style. This font setting doesn't seem to be derived from a stylesheet.

I can apply a font-family style to div elements in our skin css to get the desired results, but this seems a bit heavy handed. The div style then gets applied to divs on our rich display files (which we are trying to avoid fixed format on those screens).
User avatar
Emily
Profound Logic Staff Member
Posts: 89
Joined: Tue Jun 21, 2016 8:30 am
First Name: Emily
Last Name: Seage
Company Name: Profound Logic
Contact:

Re: Genie Subfile font setting?

Post by Emily »

Hi Lisa,

You can change the font style and size of auto-detected subfiles by using this selector in your skin's CSS file:

Code: Select all

div#subfile div.cell div {} 
So, for example, you could place the following at the bottom of your CSS file:

Code: Select all

div#subfile div.cell div {

  font-family: consolas, monospace;
  font-size: 12px; 

}
This will cause your auto-detected grids in Genie to use the Consolas fixed-width font. Of course, the above is just an example, you'll need to modify it based on your preferences.

I hope that this helps!
Emily Seage
Support Team Lead
Larelyn
Profound User
Posts: 30
Joined: Thu Mar 20, 2014 2:31 pm
First Name: Lisa
Last Name: Lawrence
Company Name: The Scoular Company
Contact:

Re: Genie Subfile font setting?

Post by Larelyn »

Thanks, Emily! It sure does help!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest