You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Overview of updates.css


Commerce Vision BPD websites all have a foundation CSS style sheet (theme.css), which gives the site its base style. To customise the look and feel, the CSS updates file (updates.css) can be edited to apply styling changes to elements throughout the site. 

Traditionally, these updates were done by Commerce Vision's design team, but from version 3.85+, a Style Sheet Editor is available in the CMS. Using this tool, the updates.css file can be edited by your own eCommerce Team, giving you greater flexibility in customising the styling of your website.

If your site version is 4.13.02 or higher, 'updates.css' is located in Advanced ContentScripts & StylesStyle Sheets. (Apart from allowing you to access updates.css, the Scripts & Styles tab contains additional functionality, for instance, the ability to add custom javascript and style sheet files directly in the CMS and apply them to specific pages through the Scripts & Styles widget. See Scripts & Styles for more information. If you would like to upgrade your site's version, contact CV Support.)
    


Editing the updates.css style sheet

  1. Login to the CMS. 

  2. Navigate to Advanced Content → Style Sheet Editor. If your site version is 4.13.02 or higher, access is via Advanced ContentScripts & StylesStyle Sheets

  3. If you have any current code in the updates.css file for your site, it will be displayed here. For 4.13.02 or higher, click on 'updates.css'.  

  4. Edit the existing Source Code, or enter new CSS code into the editor. 

     
  5. Click 'Save'.
     
  6. The page will reload and your code will remain visible. 

Reverting to an earlier version of updates.css 

If you have edited and saved the updates.css file and you don't like what you did for whatever reason, don't panic! The file's version history is recorded so you can always revert to a previous version if necessary. 

If you upload a new updates.css file via FTP, that change will not be recorded in the Version History. Only changes made via the CMS Style Sheet Editor are tracked by version.

  1. In the CMS, navigate to Advanced Content → Style Sheet Editor, or for versions higher than 4.13.02, Advanced ContentScripts & Styles → Style Sheets, then Edit for 'updates.css'.

  2. Hover over the Options menu and select File History.

     

  3. The previous versions will be listed, with the current version highlighted and displayed. 

     

  4. Select a previous version from the list, and view the source code.

  5. If this is the correct version you wish to revert to, click Restore this version.

     

  6. The editing screen will load with the new source code displayed. 

  7. Edit the code if required, otherwise click Save.



Additional Information


Minimum Version Requirements


03.85.00

Prerequisites


--

Self Configurable


Yes

Business Function


BPD Structure

BPD Only?


Yes

B2B/B2C/Both


Both

Ballpark Hours From CV (if opting for CV to complete self config component)


Contact CV Support

Ballpark Hours From CV (in addition to any self config required)


Contact CV Support

Third Party Costs


n/a

CMS Category


 CMS Category

Related help

  • No labels