Skip to main content

CSS for LibGuides Authors

Some tips and tricks for customizing your libguides with Cascading Style Sheet coding.

Normalizing Fonts and Links

Here's some handy code for normalizing the appearance of fonts, links, and lists (of combined asset types) throughout a libguide. If you add no other CSS code, this will at least give your guides a consistent appearance.

(Note: the "n's" represent a numerical pixel value.)

body, body.s-lg-guide-body 
{ 
font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size:nnpx;
}
a:link 
{
font-weight:bold;
}
.s-lg-link-list-2, .s-lg-link-list-10
{
margin-bottom: 0;
}
Thanks to Lynn Thitchener for discovering this!

Web Accessibility Assistance