Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Editing CSS files to Change Font and Size


Go to End


3 Posts   2701 Views

Avatar
brb5548

Community Member, 17 Posts

7 June 2008 at 2:49am

Hi,
I am trying to make a simple change to the layout and/or typography css files associated with the plain theme but I am having no luck.
When I edit either of these two files I never see any changes on the home page or any page for that matter.
I see the style sheets reflected in the home page html:
<link rel="stylesheet" type="text/css" href="themes/plain/css/layout.css" >
<link rel="stylesheet" type="text/css" href="themes/plain/css/typography.css" >
<link rel="stylesheet" type="text/css" href="themes/plain/css/form.css" >

And in the layout.css, I see a reference to the div header and h1 tag.
#Header h1 {
font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
font-size:30px;
text-transform:uppercase;
font-weight:normal;
margin:0;
padding:0;
padding-top:5px;
color:#736451;
margin-bottom:10px;
text-align:left;
}

but after I make a simple change like changing the font-size from 30 to 10, I never get an update on the site.

I have tried to use the ?flush=1 parameter but nothing seems to work.

Am I missing something or am I just going crazy?

Thanks!

Avatar
Hamish

Community Member, 712 Posts

7 June 2008 at 9:42am

Did you clear your browser cache?

Avatar
brb5548

Community Member, 17 Posts

7 June 2008 at 11:22am

did I mention that I hate IE.... that did it. For some reason the setting "check for newer version of stored pages - everytime I visit the webpage" did not work.
Thanks!