WordPress.org

Ready to get started?Download WordPress

Forums

Changing Font in Blog Title (Retrospotive) (5 posts)

  1. Alison
    Member
    Posted 8 years ago #

    Granted, I am a relative newbie...but gee whizz..

    I just changed my template to Carol's Retrospotive and although I really like the template, I don't like the default font for the Blog title. I've been through the style sheets, the header sheet, the side bar sheet, the body - every where I can think of to find the font command to change the font - but it appears to be coded as something other than 'font'. I found this on the header page, and am wonder if this:

    "Search Results for " . wp_specialchars($s)

    is the code I need to play with.
    Here is the paragraph of code cut and pasted.

    <?php $curauth = get_userdata($author); ?>
    <title><?php bloginfo('name'); ?><?php if( is_404() ) { ?> » Not found<?php } elseif (is_day() || is_month() || is_year() ) { ?> » Archives<?php } elseif ( is_category() ) { ?> » Archives » Category<?php } elseif ( is_author() ) { ?> » Archives » Author <?php echo "» " . $curauth->user_nickname; ?><?php } elseif ( is_search() ) { ?> » <?php echo "Search Results for " . wp_specialchars($s) ; ?><?php } ?><?php wp_title(); ?></title>

    Can anyone help me with this?
    Alison

  2. moshu
    Member
    Posted 8 years ago #

    You don't need to do anything in the header.php
    Just open your stylesheet (style.css) and find this line:
    #header h1 {
    font: bold italic 3.2em Georgia, "Comic Sans MS", sans-serif;
    letter-spacing: -.1em;
    padding-top: 9px;
    }

    Change the font from Georgia to whatever you wish...

  3. Alison
    Member
    Posted 8 years ago #

    Does not work! Ms. Carol has done something SECRET - I've fiddled with the header h1 code and NOTHING HAPPENS! It doesn't change. I've been at this for hours.

  4. moshu
    Member
    Posted 8 years ago #

    Then you are either modifying the wrong line in your stylesheet or your browser is showing you a cached version of the site. I just used the FF web developer to edit your stylesheet and it works.
    The line quoted above is in the Headers section of the stylesheet.

  5. Alison
    Member
    Posted 8 years ago #

    Ohhhh.....cached version of the site....hmmmm. I will look at this later - right now have to dash. Thank you very much for your help with this and mjost especially thank you for your prompt response! :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.