WordPress.org

Ready to get started?Download WordPress

Forums

Header trouble (4 posts)

  1. ncfcb
    Member
    Posted 6 years ago #

    Hello everyone!
    I am using the default theme (for now) and I've been trying to change the header, in particular the font size for the tagline and the font for the blog name. I've been reading through here and looking at the style.css, but I'm new to all of this and slightly intimidated.
    Also, is it possible to insert an image within the header box and have it on the right side with the text on the left?

    Thanks for any help.

  2. Adam Brown
    Member
    Posted 6 years ago #

    Find this near the top of style.css:

    h1 {
    	font-size: 4.5em;
    	text-align: center;
    	}
    
    #headerimg .description {
    	font-size: 1.6em;
    	text-align: center;
    	}

    The first set of declarations controls the blog's title, the second set controls the tagline. You can probably see which property to adjust to change the font sizes.

    Changing the font is a little trickier. You would need to insert a font-family declaration into the first part. Something like this:

    h1 {
    	font-size: 4.5em;
    	text-align: center;
    	font-family: "Times New Roman",serif;
    	}

    You can read here about what a valid font-family property might be.

    If you plan to do much more tweaking, definitely read through a CSS tutorial. recommended.

  3. ncfcb
    Member
    Posted 6 years ago #

    Found that code last night and changed the size. I'll see if I mess with the font itself.
    Thank you!

  4. GreenFairy
    Member
    Posted 6 years ago #

    I've seen blogs which use the default theme with a graphic in the header space as as opposed to the default blco of colour with text.

    How does one insert a graphic in the header?

    Much obliged.

Topic Closed

This topic has been closed to new replies.

About this Topic