Highlighted

Pseudo Stylesheet Question

Contributor ,
Nov 10, 2017

Copy link to clipboard

Copied

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?

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

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.

Views

180

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Pseudo Stylesheet Question

Contributor ,
Nov 10, 2017

Copy link to clipboard

Copied

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?

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

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.

Views

181

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 10, 2017 0
Adobe Community Professional ,
Nov 10, 2017

Copy link to clipboard

Copied

any way to modify the DOM on the fly ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2017 0
LEGEND ,
Nov 10, 2017

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2017 1
Adobe Community Professional ,
Nov 10, 2017

Copy link to clipboard

Copied

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

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2017 1
Adobe Community Professional ,
Nov 10, 2017

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2017 1
LEGEND ,
Nov 10, 2017

Copy link to clipboard

Copied

I don't want to get into a discussion about this, but Prerans reply in the thread Jon linked to, does make sense in the context that Dw is for 'designers who wish to code'.

Such a feature as design time style sheets, is aimed more at developers than designers who wish to code.

Unfortunatly it does for me confirm that Dw is no longer for serious development work, which even though regrettable, is now something that cannot be changed, as that roadmap is now too far advanced.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2017 0
nyfeman LATEST
Contributor ,
Nov 10, 2017

Copy link to clipboard

Copied

Thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2017 0