Wordpress theme

Discussion in 'Programming' started by Namesniper, Sep 20, 2007.

  1. #1
    Hello,

    There is a cose in WP theme header
    <style type="text/css" media="screen">
    @import url( <?php bloginfo('stylesheet_url'); ?> );
    </style>

    and its importing blog title and placing it on the page in white font colour.

    Can anyone please tell me which code will make the title appear in black colour fonts ?
    In html the code is
    <font color="#000000">
    </font>

    but in php theme it smessing theme up.
     
    Namesniper, Sep 20, 2007 IP
  2. gmo

    gmo Member

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    the first part is a call to your style sheet or CSS sheet...

    to change font colors you need to edit the style.css file. the style.css file can be found in the theme folder.

    put up the web page so I can look at it.
     
    gmo, Sep 20, 2007 IP
  3. Namesniper

    Namesniper Well-Known Member

    Messages:
    365
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    118
    #3
    }

    h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family:Georgia, Arial, Serif;
    font-weight:normal;
    }

    Thats the h1 code in style.css,can you please tell me the code to make h1 black colored ?

    I can PM you URL if its ok.
     
    Namesniper, Sep 22, 2007 IP
  4. gmo

    gmo Member

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    after the font-weight:normal; add the following on the next line

    color: #000000;

    this means any h tag listed (looks like h1 - h6) will have the color of #000000.

    if you want the font to change when hovering over then you'd do this:

    a:hover h1, h2, h3, h4, h5, h6 {
    color: #666666;
    text-decoration: underline;
    }

    **this means the font color would change to 666666 (make whatever you want) and the link would be underlined when hovered over.

    Google "h1 css style" or something if you need more CSS tips...but that style.css is where you can make all cosmetic color changes and such. Good luck.
     
    gmo, Sep 22, 2007 IP