Answers.Body: <p>This is a core issue (not specific to Shoreditch) and there is an issue with some discussion related to it here:</p>
  
  <ul>
  <li><a href="https://lab.civicrm.org/dev/core/issues/378" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/issues/378</a></li>
  </ul>
  
  <p>To tag on to your specific point about Shoreditch's CSS, I have found this to be problematic for the display reasons you mention (conflicts with CSS from the front end theme) but also for performance reasons. On one site I found Google Page Speed Insights showed a very low mobile score (2%) with Shoreditch enabled, and it jumped to a more normal level (87%) as soon as I disabled the Shoreditch CSS.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-26T16:53:52.917Z
Answers.LastActivityDate: 2019-02-26T16:53:52.917Z
Answers.UserDisplayName: Laryn
Body: <p>As the title says - can you restrict Shoreditch from injecting CSS on Public pages with CiviCRM content?</p>
  
  <p>For example - do a fresh install of Drupal, CiviCRM and Shoreditch - choose any public theme - create any public facing CiviCRM page (event, contribution, etc) - go to that public page - shoreditch will inject much of its CSS on the page. Fonts, body backgrounds, etc. </p>
  
  <p>Whats the easiest way to restrict shoreditch from injecting itself on public pages?</p>
  
Tags: <drupal><css><theme><shoreditch>
Title: Can you restrict Shoreditch from injecting CSS on Public pages with CiviCRM content?
ThreadText: # Can you restrict Shoreditch from injecting CSS on Public pages with CiviCRM content?
  
  (Asked by: username_0 on 2019-02-19)
  
  As the title says - can you restrict Shoreditch from injecting CSS on Public pages with CiviCRM content?
  
  For example - do a fresh install of Drupal, CiviCRM and Shoreditch - choose any public theme - create any public facing CiviCRM page (event, contribution, etc) - go to that public page - shoreditch will inject much of its CSS on the page. Fonts, body backgrounds, etc.
  
  Whats the easiest way to restrict shoreditch from injecting itself on public pages?
  
  **Tags:** drupal, css, theme, shoreditch
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-02-26. Score: 2 | Accepted answer
  
  This is a core issue (not specific to Shoreditch) and there is an issue with some discussion related to it here:
  
  * <https://lab.civicrm.org/dev/core/issues/378>
  
  To tag on to your specific point about Shoreditch's CSS, I have found this to be problematic for the display reasons you mention (conflicts with CSS from the front end theme) but also for performance reasons. On one site I found Google Page Speed Insights showed a very low mobile score (2%) with Shoreditch enabled, and it jumped to a more normal level (87%) as soon as I disabled the Shoreditch CSS.
  
  
  ---
  
  