Skip to Questions

Guide FAQ - Your LibGuides v1 Questions. Answered!

Q

Is it possible to customize the look (CSS) of the API call output?

Last Updated: Aug 30, 2012  |  1280 Views

Was this helpful? 1   3
A

Answer

Sure can! There is a specific style sheet associated with the API output, so you can use that to change the style. You can't define a completely different style sheet, but you can modify ours to meet your needs.

From JC (one of our awesome tech/support guys):

It is possible – still not ideal as you can’t switch out the stylesheet – but you should be able override the styles. In the case below you can suppress the rss icon and change the margin and font properties on the linklist with the following code…

<style>
.bi_rss { display: none ! important; }
.linklist { margin-left: -10px; }
.linklist ul li { font-family: Verdana; font-weight: bold; }
</style>

The team is still working on a more elegant solution to allow customization, but for now this should work. If it doesn't, or if you have more questions, please let me / support know at support@springshare.com & we'll get it sorted out. :)

Also, check out this thread on the Springshare Lounge: Edit the API CSS?

We have a whole guide on LibGuides Widgets & APIs, so check that out as well - especially the "Add to the API call's URL" page!

Answered by Anna BurkeBookmark and Share

Other Answers / Comments (3)

  1. I tried this and nothing happened. There is no "linklist" class in the style sheet. I also tried modifying "itemlist" to no avail.
    by Deborah Stanley on Apr 13, 2015.
  2. Hi Deborah,

    Could you send in your question to our Support system (support@springshare.com) and explain a little bit more about how you are hoping to change edit the API output?

    We'll be able to better answer your questions there.

    Thanks!
    Brody
    by Brody selleck on Apr 13, 2015.
  3. Will do! Thank you for such a quick response, Brody.
    by Deborah Stanley on Apr 13, 2015.

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