Skip to main content

Edit a theme's CSS file (Classic SharePoint)

BindTuning Team avatar
Written by BindTuning Team
Updated over 2 months ago

While BindTuning themes offer extensive customization through the Customizer Tool, there might be specific scenarios where you need to make direct, small adjustments to your Classic SharePoint theme's core .css file. This article guides you through that process.

It's important to note that BindTuning recommends generating a new theme through the Customizer Tool for significant visual changes, as your subscription includes unlimited customizations and downloads. Direct .css edits are best suited for minor, targeted adjustments.

Requirement: To follow the steps for Sandbox Solutions, SharePoint Designer is required. You can download it here.

The method for editing your theme's primary .css file depends on your SharePoint environment and deployment type.


For Sandbox Solutions (Office 365 Classic, SP2013, SP2016, SP2019)

  1. Open your site with SharePoint Designer.

  2. Navigate to All Files > Style Library > THEMENAME.

  3. Check out and edit in advanced mode file THEMENAME.css.

  4. Add your custom CSS code to the bottom of the file.

  5. Save, check in, and if prompted, publish a major version.

  6. Refresh your browser using CTRL + F5.


For SP2016 and SP2019 (Classic) Farm Solution

  1. Access the file at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\1033\STYLES\THEMENAMEPackage\THEMENAMEPackage\THEMENAME.css.

  2. Add your custom CSS code to the bottom of the file.

  3. Save the file.

  4. Refresh your browser using CTRL + F5.

  5. If changes are not immediately visible, reset your IIS.


For SP2013 Farm Solution

  1. Access the file at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1033\STYLES\THEMENAMEPackage\THEMENAMEPackage\THEMENAME.css.

  2. Add your custom CSS code to the bottom of the file.

  3. Save the file.

  4. Refresh your browser using CTRL + F5.

  5. If changes are not immediately visible, reset your IIS.

Note: If you are looking to add custom styles to your Modern SharePoint pages, please refer to this article: Add custom styles to BindTuning themes (CSS and JavaScript).

Did this answer your question?