• I need some help figuring out how to center my header image at:
    https://www.wump.info/wumpblog
    I am currently using the following code in my index.php file:
    <h1 id=”header”> <img src=”wump_blog_logo2.gif” /></h1>
    I tried adding a class=”center” to this tag but either that’s the wrong approach or I punctuated the tag wrong.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Easy enough:
    <img class=”center” src=”Wump%20Blog_files/wump_blog_logo2.gif” />
    And in your css:
    img.center {display: block; margin-left: auto; margin-right: auto }

    how about adding something like
    h1 {
    text-align: center;
    }

    in your wp-layout.css?
    or even
    #header {
    text-align: center;
    }

    should do the same

    Thread Starter danithew

    (@danithew)

    Beel and Eric, thanks for your responses. Especially to Beel, I owe you a huge thank you for all the help you gave me today. I gotta say that I love WordPress support and I’m amazed at how much people help each other out with their blogs and coding.
    I’ve definitely got a different look to my site tonight than I did this morning. I’d be interested to hear any thoughts/reactions. I’m hoping that this will show up well in most browsers, particularly the types that were having problems (I think the 800×600 displays?) earlier today. Here’s the link again:
    https://www.wump.info/wumpblog

    Thread Starter danithew

    (@danithew)

    My Mom complained a little bit about the new format too. She liked having things “in boxes” … so I brought that back to the format (boxes around story content, that is). I’m not sure I want to shade the boxes or the menu. I kind of like the look I’m getting right now… but the truth is I’ll probably be constantly testing and messing around with the format and appearance of the page.
    I would like very much to have a link to the main page in the header. I didn’t decide not to have it. It didn’t occur to me that I needed to replace the link that was lost. So I’ll try and figure out what kind of code I need to do that. I don’t think that will be hard.
    Thanks for the feedback. ??

    Thread Starter danithew

    (@danithew)

    Done! ?? Thanks.
    I’ve gone and messed with font-sizes in both the menu and storycontent pages. I was in a library using a computer and the menu links were so tiny I could hardly make them out. So I made them larger. Oh, and I also made the menu a bit wider.
    Last time I did this some folks raised some alarms… saying the letters were too large in their browsers. Hopefully that isn’t the case with these changes.

    Seems ok here =)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘need to center header image’ is closed to new replies.