WordPress.org

Ready to get started?Download WordPress

Forums

default theme text in header displays incorrectly (5 posts)

  1. healingcoach
    Member
    Posted 5 years ago #

    Hello,

    I'm a newbie with WordPress, an advanced dabbler with HTML, but am an inexperienced dabbler with CSS. I am using the default theme, and I would be very appreciative if someone can tell me what I need to change to make my header text display correctly - here's the url for my blog: http://www.chronicillnesscoach.com/blog . As you can see, the text is wider than the header.

    Is there a way to put a carriage return into the blog title? Even if there is, that shouldn't be necessary. But I don't know what needs to be done to make the text fit.

    Thank you!

    Tom Robinson

  2. whooami
    Member
    Posted 5 years ago #

    in the theme's style.css, edit this:

    h1 {
    	font-size: 4em;
    	text-align: center;
    	}

    specifically, the font-size.

    try font-size: 3em; or font-size: 3.5em;

  3. healingcoach
    Member
    Posted 5 years ago #

    Thanks, Whoo...

    Font-size 3em works. My preference would be to use the font-size 4em and reduce the width of the text area so that the lf/cr gets inserted one word earlier (between "When" and "You") than it currently does. Can anyone tell me how to do that?

    Thanks,

    Tom

  4. whooami
    Member
    Posted 5 years ago #

    you cant apply width 'rules' to <h1> tags, so what yiou are asking can't be done that simple. The more amenable <div> that that is sitting inside does have a defined width, but its a consequence of the header image.

    were it me, I would just use some PHP magic to put that on 2 lines; thats just me though.

  5. whooami
    Member
    Posted 5 years ago #

    I spose you could also wrap that in another div, and shorten that div.. that might work.

Topic Closed

This topic has been closed to new replies.

About this Topic