WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] making header static...? centering issue (8 posts)

  1. driplabcom
    Member
    Posted 6 years ago #

    Hey all,
    I'm having issue running Marketplace 3column...

    It appears that the body of my blog is static. When I expand the web browser horizontally, it stays put. The problem is that my headerphoto centers itself based on how wide the browser is...it doesn't look good.

    How do I anchor the header photo to stay put like the body?

  2. shadow
    Member
    Posted 6 years ago #

    You are using a frame - why?

  3. driplabcom
    Member
    Posted 6 years ago #

    I haven't changed much in the theme, so I'm not 100% sure.
    What do you suggest?

  4. shadow
    Member
    Posted 6 years ago #

    Looking through your code, it seems your header photo is actually doing the correct thing and is sitting in the middle of the page.

    But, anything under your header is out of alignment. The best way to fix it all is to use a wrap tag [which is in your css but not being called via your html].

    The <div id="wrap"> should sit just below your body tag.

    The frame is a redirection so is not having any direct impact on this issue.

  5. driplabcom
    Member
    Posted 6 years ago #

    i'm sorry if this sounds dumb...

    where exactly am i making this change? in what file?

  6. shadow
    Member
    Posted 6 years ago #

    No, it doesn't sound dumb. We all have to learn bit by bit. :)

    If you would like to email me I will give you a hand.

    shadow12 gmail

  7. shadow
    Member
    Posted 6 years ago #

    I dropped a <div id="wrap> in place above the header and this wraps the whole page. You already had some css in place for it, but it was irrelevant without the call via the div.

    A few margin adjustments throught and it now sits in the centre.

    All fixed...

  8. driplabcom
    Member
    Posted 6 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic