Customizing look and feel with CSS
Here are some basic styles you may want to customize (shown with their default Scalar settings):
Heading font | .heading_font { font-family: 'Lato', Arial, sans-serif !important; } |
---|---|
Body font | .body_font { font-family: Georgia, Times, serif !important; } |
Caption font | .caption_font { font-family: 'Lato', Arial, sans-serif !important; } |
Monospace font | .monospace_font { font-family: Courier, monospace; } |
Page background color | .page { background-color: white; } |
Page text color | body { color: #333; } |
Colophon (footer) color | #colophon { color: #666; } |
Links | a { color: #337ab7; } |
Primary navigation buttons | a.nav_btn.primary { background-color: #026697; color: white; } |
Secondary navigation buttons | a.nav_btn { background-color: #ddd; color: #444; } |
To customize other styles, use your browser's Inspector on specific page elements to identify the CSS rules applied to them, experiment with alternate values, and then paste your alternate definitions of those rules into a Custom CSS field to try them out. It may be helpful to have the both CSS field and a sample page open in separate windows while you hone in on the styles you want.
In some cases you may need to use
!important
(see above) to force your custom styles to override the defaults.