• Resolved IncomeWired

    (@incomewired)


    Hi I am trying to change the default font on my website because the existing font looks squashed! I did search the forums and saw other people changed in the style.css this code:

    body {
    background: #ccc;
    font: normal 12px Verdana, sans-serif;
    color: #777;
    line-height:18px;
    border-top: 4px solid #fd7800;

    However when I change this code I see no difference on the website, can someone help me please? Website is http://www.popularecigarettes.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Pioneer Web Design

    (@swansonphotos)

    body {
    /*styles*/
    }

    missing the closing }

    How are you adding this CSS?

    To discover what CSS is output by your theme, use a web inspection tool such as Firebug: http://getfirebug.com/ , Chrome Inspect Element: https://developers.google.com/chrome-developer-tools/ or Internet Explorer 9+ F12 Dev. Tools: http://msdn.microsoft.com/en-us/library/dd565627(v=vs.85).aspx#csstool

    There are others.

    When editing CSS, use a Child Theme
    http://codex.ww.wp.xz.cn/Child_Themes
    Custom CSS Plugin, or Theme provided custom CSS option.
    Edits to parent themes are lost on theme update.

    Learn CSS: http://www.w3schools.com/css/

    Thread Starter IncomeWired

    (@incomewired)

    I’m not missing the closing ) in the file just didn’t have it in this message. I’ve tried getfirebug, again can’t see any changes. I tried using a custom css plugin and putting code in that but again can’t see any changes to the site, I am stuck

    Thread Starter IncomeWired

    (@incomewired)

    oh and just to add, I won’t be updating the theme so I am happy to change the parent theme if need be its not a problem

    WPyogi

    (@wpyogi)

    If you don’t update the theme your site will eventually have compatibility and/or security issues. Not a good idea at all.

    Start by looking into quite a few validation errors on your site:

    http://validator.w3.org/

    WPyogi

    (@wpyogi)

    It also looks like a theme stylesheet (css/foundation.css) is being loaded after your changes so you may need to make your more specific or use the !important rule.

    Thread Starter IncomeWired

    (@incomewired)

    oh okay I didn’t know that about not updating the themes. well I was having trouble changing the css also with the menu but I just finally managed to do that, will keep trying with default font. that’s good info about the foundation.css didn’t realise that either 🙂 thanks guys, I’ll keep fiddling around with the css

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Change default font’ is closed to new replies.