Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

CSS: change font size in stylesheet

  • 26-08-2009 02:08PM
    #1
    Moderators, Motoring & Transport Moderators, Music Moderators Posts: 12,616 Mod ✭✭✭✭


    Sorry very noob question here. I just want to take the text size down a tad, but I can't work out where do change it.

    Attacehd is the stylesheet from my wordpress template. Can anyone see where I modify this?
    Thanks!
    style.txt


Comments

  • Closed Accounts Posts: 7,144 ✭✭✭DonkeyStyle \o/


    All the lines with font-size
    Find/Find Next your way through it


  • Moderators, Motoring & Transport Moderators, Music Moderators Posts: 12,616 Mod ✭✭✭✭Zascar


    Ok cheers I've gone through all of them but none seem to be the one I'm looking for

    Maybe I'm doing something stupid.

    I even tried adding: "font-size:10px;" to this:
    body {
    margin:0;
    padding:0;
    text-align:center;
    color:#555;
    font-family:Arial,sans-serif;
    background:#eee url("images/bg.png") repeat-x top center;
    }

    but still nothing. Any idea? This is the site btw


  • Closed Accounts Posts: 9,698 ✭✭✭tricky D


    Get yourself the Firebug add-on for Firefox. Right click on the text you want to size, choose inspect element and it will tell you what lines in the css are affecting the style. It's especially useful as some elements like td's and li's don't inherit the styles 'well'. Would also be a good idea to avoid using both pixels or ems - stick to one of them.


  • Registered Users, Registered Users 2 Posts: 21,278 ✭✭✭✭Eoin


    Styles in the body tag won't overwrite other styles.

    e.g. the CSS class called myclass in this example will overwrite the styles for the body tag.
    [html]
    <body>
    <div class="myclass">
    blah
    </div>
    </body>
    [/html]

    It might be this part of your CSS:
    #content (line 152)
    {
    margin-left: 260px;
    font-size: 16px;
    background-color: transparent;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    padding-left: 15px;
    padding-right: 15px;
    }
    


  • Closed Accounts Posts: 41 oMega_2093


    I would recommend you use pt for font size measuring. Verdana 10pt is this font in the forum. I personally find more confortable with pt measuring for fonts, and px measuring for object dimensions.

    But, by the way, can you please paste or point the text you want to change size?


  • Advertisement
Advertisement