WordPress.org

Ready to get started?Download WordPress

Forums

Blank Space Next to Menu Header (2 posts)

  1. transigma_drew
    Member
    Posted 1 year ago #

    Hello,

    I am trying to figure out a problem on our site- In the menu bar there was originally a House Icon, we decided to remove it- but there remains this mysterious white space next to the first menu item on the left that we cannot seem to get rid of:

    http://www.transigmapartners.com/new-site/transigmapartners/

    If you look at it with a tool like firebug you will see what I mean. For now we have adjusted the width of the menu header as a quick fix.

    Can anyone help?

    Thanks

  2. tylerhq
    Member
    Posted 1 year ago #

    The position property isn't necessary for .menu-primary_menu, and causes your layout issue.

    You can remove the
    position: absolute;
    then apply a
    float: right;
    to
    .menu-primary_menu
    and set its parent to
    width: 1000px;

    I'd recommend:

    #nav_wrapper .menu-header ul {
      display: block;
      list-style: none;
      float: right;
      margin-right: auto;
      margin-left: auto;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic