WordPress.org

Ready to get started?Download WordPress

Forums

css (4 posts)

  1. clayH
    Member
    Posted 10 years ago #

    two things:
    1) I'm trying to change the font for the storycontent element. adding the css element div.storycontent allows me to manipulate font-size, but isn't letting me change font-family for some reason. is there another element within that div that i'm missing.? obviously, i'd rather not change a global element...
    2) Also, why does wp use two stylesheets?

  2. southerngal
    Member
    Posted 10 years ago #

    Don't forget to look at the {body} for the font, it could be controlling it. ;)
    My WP has one .CSS.

  3. Nick Momrik
    Member
    Posted 10 years ago #

    clayH,
    1) The p element has a font set to it and since there are paragraph elements inside the storycontent div, this style is taking over. What you're going to want to do is add a style for .storycontent p and set the font on this.
    2) print.css is used to style the page when it's printed.

  4. clayH
    Member
    Posted 10 years ago #

    thanks for the info!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.