Overall HTML font style
how can I change the font family to "arial" for my entire HTML viewer?
0
-
Hi Kenneth,
We don't have a configurable setting for this, but we can do it through custom css:- Navigate to the viewer's custom css dekstop file. The default location is: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\SITENAME\Viewers\VIEWERNAME\VirtualDirectory\Resources\Styles\Custom\Desktop.css
- If your viewer doesn't have the Styles folder, create the necessary folders and the empty Desktop.css file. If the file does exist, back it up first and edit the original in a text editor like Notepad
- Paste the following CSS
body, button, input, select, textarea { font-family: Arial, sans-serif; } - Save the file and test the viewer.
- Repeat for Tablet.css and Handheld.css if necessary. If you are using a newer version of the viewer, you may be able to target all 3 at once instead by using common.css instead.
font-family: "Segoe UI", "Helvetica Neue", "Droid Sans", Helvetica, Arial, sans-serif;The selector (body, button, input, select, textarea) should target the vast majority of the viewer, but there are likely still a few places that it doesn't cover. I'd recommend testing thoroughly if you want to be sure. You might also want to post an Idea (https://support.geocortex.com/GSCIdeas?c=09a6000000008RsAAI&filter=1&categ=all&sub-nav=ideas&main-nav=essentials&page=1) to request that we make a configurable setting for the viewer font.
Hope that helps!
-Amanda0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar