I want to use a stylesheet in the front end of the site as well as the admin. For the admin I would like the text in the editor it is used by to be formatted. To do this afaik you set the font size in the body. This however changes the styling on the front end of the site.
Is there anyway of styling the font in a rich text editor without applying it to the body.
I have done that. What I want is to be able to style the admin editor in that stylesheet without it effecting the front end though.
I'm not sure I'm really explaining what I'm trying to do very well. Below is my stylesheet. In the admin it adds the padding and changes the text size and colour in the rich text editor which I want. However it also adds the padding and changes the text size on the site itself which I don't want.
body { padding: 20px !important; font-size: 200%; color: #0f0; }
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */ .smaller {
}
I was wondering whether there is a way to style the rich text editor in the admin using something other than body so I can use this same stylesheet on admin and site and keep the number of css files down.
Using stylesheets in the admin and front end
I want to use a stylesheet in the front end of the site as well as the admin. For the admin I would like the text in the editor it is used by to be formatted. To do this afaik you set the font size in the body. This however changes the styling on the front end of the site.
Is there anyway of styling the font in a rich text editor without applying it to the body.
Hi,
You should create new styles file, than add it to the umbraco.
See example :
http://screencast.com/t/WVw68i9wPbEm
I have done that. What I want is to be able to style the admin editor in that stylesheet without it effecting the front end though.
I'm not sure I'm really explaining what I'm trying to do very well. Below is my stylesheet. In the admin it adds the padding and changes the text size and colour in the rich text editor which I want. However it also adds the padding and changes the text size on the site itself which I don't want.
I was wondering whether there is a way to style the rich text editor in the admin using something other than body so I can use this same stylesheet on admin and site and keep the number of css files down.
hm, we have the same styles and it works, maybe problem in the 'important' ?
is working on a reply...