5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 670 Views |
-
Making the CSS styles of a theme show in the editor

26 May 2010 at 10:46pm
Gentlemen,
Have been trying to get this working for about an hour and I have had enough. For such a well configured system, getting Silverstripe to show the same colours and fonts (ie: CSS) in the CMS as it does in the theme on site is frustrating in the extreme!!
Following instructions I found online, I edited typography.css in the theme's css folder and added the following...
.typography h1, .typography h2 {
font-family: Arial, Helvetica, Geneva;
font-size: 12pt;
color: #ffcc00;
font-weight: bold;
}Viewing the source code this css is loaded, and these classes show when viewing that css file. However, the font display in the CSS remains stubbornly the same.
Please help!!
-
Re: Making the CSS styles of a theme show in the editor

27 May 2010 at 6:52pm
Viewing the source code this css is loaded, and these classes show when viewing that css file.
Are you sure they aren't being overridden somewhere else (use the developer tools with your browser to check. Make sure you actually have a typography class on your front end template and that you have an editor.css in your theme which includes typography.css.
| 670 Views | ||
|
Page:
1
|
Go to Top |


