481 Posts in 150 Topics by 238 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2493 Views |
-
Override styles for the WYSIWYG-editor

18 March 2009 at 9:54am Last edited: 18 March 2009 9:55am
Right now I'm trying to override the settings I made in typography.css. I know those settings are imported to editor.css. But is there a possibility to change these typography-settings by style styling them a second time within editor.css? I tried this, but it didn't work.
The problem is that I styled a heading to be displayed left to the text by
.typography h3 {position: relative; left: -300px;}
which means the heading won't be displayed in the WYSIWYG-editor. Of course I can put it to layout.css, but I want to keep all heading together.
-
Re: Override styles for the WYSIWYG-editor

23 March 2009 at 11:11am Last edited: 23 March 2009 11:12am
Im a little confused.....why would putting it in Layout.css help?
Anyway if you just want to have some different styling in the editor and not on the site then you have it right already putting them in editor.css, try adding !important to the end of the definition.
.typography h3 {
position: relative !important;
left: -300px !important;
}
| 2493 Views | ||
|
Page:
1
|
Go to Top |


