Forums

[resolved] adding header (6 posts)

  1. oneway
    Member
    Posted 1 year ago #

    Hello,

    I was trying to add "white space" between the "header" and the "navmenu" - the code didn't work so I removed it and now my header is missing.

    The code is:
    '
    *********************************************************************
    Main Image Header
    *********************************************************************/
    <div
    .main_image {
    background:url(img/main_image.jpg) top center no-repeat;
    height:150px;
    }

    .main_image img {
    margin:0;
    padding:0;
    }
    '

    Can anyone see what is missing please?

    website: here

    thank you

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    <div at the top shouldn't be there

    looks like the start of html, which can not be in your style.css

  3. oneway
    Member
    Posted 1 year ago #

    That's GREAT! Thank you SO very much! I hate not knowing CSS.

    That worked like a charm!

    Can you please tell me how I can add some space between the "header" and the "navmenu"? as you can see the header is pushed up against the navmenu.

    Also I am thinking the navmenu needs to be BELOW the header. Anyway I can do that? and again whenever I need to add SPACE between two items what is the best and correct way to do that please?

    thanks in advance!

  4. oneway
    Member
    Posted 1 year ago #

    I figured out the SPACING by editing the HEIGHT in the style.css

    but still don't know how to "flip-flop" the navmenu and header.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    flipping the location of the navmenu and header would be done in header.php

    I think if you find this line
    <div class="grid_16 main_image"> </div>

    cut it from its current location and paste it between

    </div>
    <div class="grid_16 navigation">

    so you get

    </div>
    <div class="grid_16 main_image"> </div>
    <div class="grid_16 navigation">

    I think that would work

  6. oneway
    Member
    Posted 1 year ago #

    Thank you. I'll give that a try.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.