WordPress.org

Ready to get started?Download WordPress

Forums

Stupid, straightforward question - changing font (14 posts)

  1. NuclearMoose
    Member
    Posted 10 years ago #

    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.

  2. Basilisk
    Member
    Posted 10 years ago #

    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.... ;)

  3. Basilisk
    Member
    Posted 10 years ago #

    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?

  4. NuclearMoose
    Member
    Posted 10 years ago #

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

  5. Basilisk
    Member
    Posted 10 years ago #

    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.

  6. Basilisk
    Member
    Posted 10 years ago #

    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.... :\

  7. NuclearMoose
    Member
    Posted 10 years ago #

    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!

  8. Basilisk
    Member
    Posted 10 years ago #

    Thanks for all your help :) Nice to know I'm not the only person running into this problem....

  9. Basilisk
    Member
    Posted 10 years ago #

    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...

  10. Basilisk
    Member
    Posted 10 years ago #

    That did it!
    Thank you so much for all your help, it's been great :)

  11. NuclearMoose
    Member
    Posted 10 years ago #

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

  12. NuclearMoose
    Member
    Posted 10 years ago #

    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.

  13. stfox38
    Member
    Posted 9 years ago #

    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..

  14. stfox38
    Member
    Posted 9 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.