Skip to Questions

Guide FAQ - Your LibGuides v1 Questions. Answered!


I want to add CSS or JavaScript so that it applies to only one guide. Can I customize one guide using CSS or adding code?

Last Updated: Jul 18, 2013  |  2589 Views

Was this helpful? 0   2


If you have LibGuides CMS, you can customize individual guides any way you want! There is a Custom JS/CSS option in each guide where you can add any CSS or JavaScript you'd like, and it will only affect that one guide.

If you have LibGuides, you cannot customize guides in this way. The only way to add CSS/JS is system-wide.

Okay, so for the folks who have LibGuides CMS, here's what you do:

  1. While editing your guide, go to Guide Look & Feel > Custom JS/CSS Code.Menu for finding Custom JS/CSS option 
  2. Add the CSS or JavaScript you want in that box.
    Make sure all CSS changes are between <style></style> tags.
    Make sure all JavaScript code is between <script></script> tags, or that any calls to JavaScript files that live elsewhere have the </script> tag.

    Custom JS/CSS box in CampusGuides
  3. Click Save

For examples of how to change items using CSS, please see:

Answered by Anna BurkeBookmark and Share

Other Answers / Comments (0)

    Need Help?

    This site is shutting down by, if not before, March 31, 2018.

    LibGuides v1 servers are also shutting down at that time.

    See LibGuides v2 documentation instead.


    Follow LibGuidesFAQ on Twitter Follow us on Twitter!