Skip to main content
Inspiring
November 10, 2017
Answered

Pseudo Stylesheet Question

  • November 10, 2017
  • 2 replies
  • 633 views

I'm managing a group of subpages on a company CMS.  To achieve what I need to, I'm using html within a rich text module styled on-page.  In a perfect world, I'd make it an external stylesheet for one and done changes.  Of course, the CMS doesn't support this.

So... Is there a way in DW to have a pseudo external stylesheet where I can make changes and it appears on each page for when I copy & paste the code into the component?  Snippets is close, but  I would still need to make the changes on one of the pages, copy it to my snippet, then remove the current style section and replace with the snippet.

Any thoughts?

    This topic has been closed for replies.
    Correct answer Jon Fritz

    I just tested this...

    DW CC 2015 - Design-time CSS is missing where has it gone?

    ...in CC2018, and the css affects the Design View, though I did have to use the OS path (C:\path\to\file.css) of the .css file to get it to work.

    2 replies

    pziecina
    Legend
    November 10, 2017

    Dw used to include a feature called, 'design time style sheets', which would have done what you wish. Unfortunatly this feature was removed a number of years ago, (i think it was in Dw2014).

    You could try dropping back to Dw CS6, as i know that version did include the feature.

    Nancy OShea
    Community Expert
    Community Expert
    November 10, 2017

    Yes,  DW CS6 supported Design Time stylesheets.  They were removed in 2015 for reasons I will never understand.

    Nancy O'Shea— Product User & Community Expert
    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    November 10, 2017

    I just tested this...

    DW CC 2015 - Design-time CSS is missing where has it gone?

    ...in CC2018, and the css affects the Design View, though I did have to use the OS path (C:\path\to\file.css) of the .css file to get it to work.

    B i r n o u
    Legend
    November 10, 2017

    any way to modify the DOM on the fly ?