Skip to main content
OCLC Support

How can I get a copy of my CONTENTdm CSS or Javascript files?

Applies to
  • CONTENTdm
Answer

Members can get copies of their JavaScript and CSS customizations directly from their website, but not within the Website Configuration Tool.  We have outlined the workflow briefly below.

  1. Go to any CONTENTdm page within one of your collections
  2. Open the browser Developer Tools
  3. Locate the Sources (or equivalent) tab
  4. Open the dropdown from the top-level domain
  5. Open customizations/global > /js
  6. Right-click on the JavaScript file and select "Save as..." or "Download"
    NOTE: This file is the one located in Custom JavaScript in the Website Configuration Tool
  7. Right-click on the CSS file and select "Save as..." or "Download"
    NOTE: This file is the one located in Custom CSS in the Website Configuration Tool

 
If there is no CSS file, but there should be:

  1. Locate the Style Editor tab in the Developer Tools
  2. Filter for the name of the custom CSS
  3. Right-click on the file and select "Open link in new tab"
  4. Save the file that was just opened
Additional information

There is more on using custom Javascript and CSS files in CONTENTdm.

Page ID
36403