• I have a top and bottom border to my top navigation
    I want to have space to the left and right of these.

    But when i add border, the white menu bg changes to the body bg.
    Any ideas?
    Right now there`s example here

    http://www.kjagen.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    You need to edit the style.css file of your theme and edit the header left, right, top and bottom padding margin code according to your requirement.

    Thanks,

    Shane G.

    #navigation  {
    	background:#fff url(img/toppmenybakgrunn.gi) ;
    
            font-weight:none;
            border-top:1px solid #aeb1a3;
    
            border-bottom:1px solid #aeb1a3;
    margin-left:4px;
    
    }

    pushes your menu in at the left 4px, which makes the green bg colour show through there. Are you referring to that?

    Thread Starter fkaf

    (@fkaf)

    Yes
    How can I make only the borders have margin?

    i’m not quite sure what you mean? you want some white space, and then a border on the left? or just some white space?

    using padding-left instead of margin-left will extend the white space rather than show green……

    Thread Starter fkaf

    (@fkaf)

    I have tried padding too

    I want space between the container (body) border and the menu borders

    I just noticed, you have styling to the li elements for menus, but not to menus itself

    try

    #menus {
        background: #fff;
     }

    to get the white background all across? Then you can mess with margin/border

    Thread Starter fkaf

    (@fkaf)

    No it doesn`t work

    Check this menu and borders, that`s what I want
    http://www.nattogdag.no/film

    Thread Starter fkaf

    (@fkaf)

    Anyone

    Thread Starter fkaf

    (@fkaf)

    #menus {
    background:#fff;

    margin-left:7px;
    margin-right:7px;
    border-bottom:1px solid #aeb1a3;

    The border-bottom is above the menu?????
    How can I add a border beneath the menu….

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Need help with margins’ is closed to new replies.