Skip to Questions

Guide FAQ - Your LibGuides v1 Questions. Answered!

Q

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  |  2045 Views

Was this helpful? 0   2
A

Answer

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 contains FAQs for LibGuides v1 only.

    LibGuides v2 Documentation
    (You must have a LibApps account to access that site.)

    Or click HELP in the orange command bar of your v2 system.

    Support:

    Follow LibGuidesFAQ on Twitter Follow us on Twitter!
     Your questions, answered!

    Browse by Popular Topics

    Accounts  –  Admin Area  –  API / Widgets  –  Boxes  –  Catalog / Database Integration  –  CSS  –  Customization  –  E-Reserves  –  Embedding Objects  –  General System Questions  –  Group Management  –  Guides  –  Holiday Closures  –  How To...  –  Images  –  LibGuides CMS  –  Links  –  Mobile  –  Pages / Tabs  –  Profiles  –  RSS  –  Search  –  Security  –  Statistics  –  Subject Categories  –  Survey/Form Tool  –  System Administrators  –  Tags  –  Webinar  
    View All Topics

    Related content from Springshare v1 Help