WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to get rid of space at top of header? (12 posts)

  1. grafx77
    Member
    Posted 8 years ago #

    I can't seem to find out how to get rid of this small space at the top of my header. I would like the top margin to be "0". The URL is http://www.gamerentalguide.com/blog/

  2. WarAxe
    Member
    Posted 8 years ago #

    *ahem* ...where's the CSS for your header? Didn't we have this conversation already? :-) Ctrl-C,Ctrl-V... otherwise someone has to go to your site... manually find your stylesheet from your index page code... then manually load your stylesheet insome text viewer of whatever sort... then fish for the important stuff. Show the main structural elements of your CSS...andif that's inconclusive we'll say so and have you paste more.

  3. vkaryl
    Member
    Posted 8 years ago #

    So you don't want to see ANY dark blue above the graphic header?

    #page {
    background-color: white;
    margin: 20px auto;
    padding: 0;
    width: 770px;
    border: 1px solid #959596;
    }

    Find that code in your stylesheet, and change it to this:

    #page {
    background-color: white;
    margin: 0 auto;
    padding: 0;
    width: 770px;
    border: 1px solid #959596;
    }

    That may do it.

  4. WarAxe
    Member
    Posted 8 years ago #

    Sorry for the lack of spaces. This motel computer's keyboard has a hosed spacebar. You have tohititdeadon! ;-)

  5. vkaryl
    Member
    Posted 8 years ago #

    Life as a road warrior.... better thee than moi!

  6. WarAxe
    Member
    Posted 8 years ago #

    vkaryl:: you're awesome. :-)

  7. vkaryl
    Member
    Posted 8 years ago #

    Nah.... I just spend my life buried in css and xhtml and the machines.... (I never had so much fun in my life before I discovered the internet.... and that's the bottom line truth.)

  8. WarAxe
    Member
    Posted 8 years ago #

    I never asked, but do you yourself have a blog somewhere? (surely someone so plunged into the electronic depths as yourself must) :-)

  9. vkaryl
    Member
    Posted 8 years ago #

    Um. Yeah, actually, bunches.... "main" one (if there is such a thing) at http://vkaryl.net/pov/. (The one I want your theme for is at http://netwizardry.net/nightwiz/.)

  10. grafx77
    Member
    Posted 8 years ago #

    Thank you Vkaryl!! Your css change worked.

    WarAxe,
    I would have inputted the header.php code, but I didnt think it was neccessary for such a small adjustment. Thought that any of you WordPress experts would be able to solve a small problem like that without the code. Regardless, I will include a code if I have anymore questions, rather big or small.

  11. WarAxe
    Member
    Posted 8 years ago #

    Solve the problem without code? Strong am I in the force...but not that strong...

    Vkaryl, on the other hand...

  12. vkaryl
    Member
    Posted 8 years ago #

    grafx77, one thing to remember is NOT to post great gobs of code here. There's a pastebin addy somewhere.... lessee....

    Here: http://pastebin.com/ - if you need to post more code than I did above, use that addy, paste the code in the box, save it, and post the addy to the code here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags