Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Editing CSS files to Change Font and Size

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

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

Page: 1
Go to End
Author Topic: 2409 Views
  • brb5548
    Avatar
    Community Member
    17 Posts

    Editing CSS files to Change Font and Size Link to this post

    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!

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Editing CSS files to Change Font and Size Link to this post

    Did you clear your browser cache?

  • brb5548
    Avatar
    Community Member
    17 Posts

    Re: Editing CSS files to Change Font and Size Link to this post

    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!

    2409 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.