Support » Themes and Templates » Stupid, straightforward question – changing font

  • For some reason, i can’t change the font at all in the main body of my blog. I’ve changed all font tags in the .css file to Verdana, yet it remains the ugly default font.
    My site is at http://bensblog.leavers03.ashst.com
    Any help would be apprecited. If you want to see the css file, I’d be happy to email it to you.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Basilisk,
    No stupid questions here. I looked at your CSS file. When declaring a font, you need only put the font name in quotes when there is a space in the name:
    “Times Roman” or “Lucida Console” — I think that if you remove all of the quotes, single and double, from around Verdana, it will work for you.
    Also, it’s good practise to declare a generic font-family as well:
    <pre>body {font-family: Verdana, sans-serif;}</pre>
    Your site is looking great!
    Craig.

    Hey thanks… I’ll try that now. And thanks for the compliment, my first time playing with css, so I’m quite happy with how it’s turned out. Wasn’t pleased when one of my friends (Web designer by trade) bluntly told me he thought it looked crap, then said he was too busy to help change it…. 😉

    Hrmm, didn’t seem to change anything…
    I’m just wondering, is it looking that way because of the font’s size and spacing? How do I amke the letters less cramped together?

    Here is a past thread that has a list of links you can check out for some excellent help with CSS.
    Have fun!
    Craig.

    Basically, i want the text in the posts to look like that which is used where it says “Filed under:” below each title… if you get what I mean.

    Yep, I am uploading it, I’ve uploaded it several times after making minor changes… I chagned teh size of the font which has made it look much nicer, but I’m yet to discover how to space teh letters out a bit more yet. I figured out that to chagne the font size of the actual content and nothing else, i needed to create a new style caled .storycontent, after looking through the index.php.
    I tried to add in
    letter-spacing: 0.07em;
    and using various values, yet no changes…. :\

    You are correct with the new class, .storycontent. I’m monkeying around with the CSS here, but I can’t get it to space out either…I even used 2.0em ! 🙂
    There must be an inheritance issue here or something….I’ll look some more!

    Thanks for all your help 🙂 Nice to know I’m not the only person running into this problem….

    I was just looking at allusions site, at http://photomatt.net
    That’s the kind of font I’m aiming for. It’s clean, and easy to read…

    That did it!
    Thank you so much for all your help, it’s been great 🙂

    Matt is using this for his BODY :
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif

    Basilisk,
    You’re very welcome! Please do check out some of those CSS links I mention above…they really have helped me a lot!
    Have fun with your site.
    Craig.

    I’ve had a similar experience trying to change the font-family of the posts. I assumed that .storycontent would do the trick, but nothing I entered changed the font. I could change color, etc. but not the font. After much unnecessary troubleshooting I finally got around to checking the css for fonts and discovered the little line:

    p, li, feedback {
    font: 90%/175% Tahoma, Arial, sans-serif;
    }

    That little p tag was driving the font declaration for the posts no matter what I declared in the <div> .storycontent .

    Once I removed p from that line I had no further trouble declaring the font that I wanted in .storycontent. Voila! Cascading means cascading..

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.