Skip to Main Content

LibGuides Website Tips

This guide accompanies PALNI's Website Style Guide and focuses on assisting you to create a custom website in LibGuides

Add a comment in CSS

Document everything! Most customization to LibGuides is done using custom CSS. Make sure to add a comment to your CSS for each piece of code so you and others will know what’s been done.

 /* A comment lives after a forward slash and asterisk and ends with an asterisk and forward slash. Everything in between the two asterisks will be ignored by the end user’s web browser */

How to use CSS on LibGuides

There are several ways you can change the CSS for your LibGuides. First, you can visit the "Look & Feel" section of your LibGuides Admin interface and click on the "Custom JS/CSS" tab. Alternatively, you can change the CSS for an entire group of guides by editing the group's "Custom JS/CSS" tab in the group admin interface. Or finally, you can change the CSS for a single guide under the "Guide Layout" drop down menu by clicking on "Guide Custom JS/CSS." Conveniently, the code is the same.