Skip to main content

CSS for LibGuides Authors

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

Content Boxes

CHANGING FONT SIZE IN CONTENT BOX HEADERS
(Note: "n"s represent specific values.)

div.s-lib-box-container 
h2.s-lib-box-title
{
font-size:nnpx;
}

CHANGING FONT COLOR IN CONTENT BOXES

div.s-lib-box-content
{
color:#nnnnnn;
}

CHANGING THE HORIZONTAL RULE IN CONTENT BOXES

div.s-lib-box-content
hr
{
background-color:#nnnnnn; 
height: npx;
}

UNBOLDING DT TEXT
(Note: Inherited content box properties will bold text enclosed within
<dt> tags. The code below will normalize the text. The "n's represent
the unique number of a given box.)

#s-lg-box-nnnnnn
dt
{
font-weight:normal;
}

HIDING ISBNS IN BOOKS FROM THE CATALOG ENTRIES
You can manually remove isbns from individual book entries, but here's some code
that will automatically suppress them all:

#s-lg-book-prop-isbn 
{
 display: none;
}

Web Accessibility Assistance