Developer forum

Forum » Ecommerce - Standard features » Difference between stylesheet in frontend and backend

Difference between stylesheet in frontend and backend

Martin Nielsen
Reply
Hi guys,

I have a small problem with the Rich text editor in DW.
I have created a site that uses Designs and layout, and i can see that DW uses the stylesheet from my design in the editor, which is great.

My problem is that some of my styling is not applied in the editor because it's only applied when content in inside a given selector.
(I guess anyone using a CSS reset stylesheet will run into this)

IE:
ul,li {list-style: none;}
#Content ul, #Content li {list-style:bullet;}

With this CSS bullets in editor doesn't get bullets.

Is there a selector i can use to add the styling i want to apply to editor?
IE:
.rte ul, .rte li {list-style: bullet;}

Regards
 Martin

Replies

 
Martin Nielsen
Reply

Found the anwer in the documentation.

When using Layout you can place an "Editor.css" file in the root of you design folder. And when this specific file is present then the editor uses it for the paragraph editor.

Ie. "/Templates/Designs/MyDesign/Editor.css"

Awesome :-) 


// Martin

 

You must be logged in to post in the forum