WordPress.org

Ready to get started?Download WordPress

Forums

nav menu spacing (2 posts)

  1. shlinklincoln
    Member
    Posted 6 years ago #

    I need to know the padding value that will put spaces in my ul li menu links.

    You can see the clubmenu bar at

    http://shlinklincolnsports.com/clubhouse

    password: year2

    I would like more space between "Field" "Career Earnings" etc.

    #clubmenu
    {
    position: relative;
    text-align: center;
    background-color: #fff;
    height: 0.5em;
    padding: 0.5em;
    margin: 0 0 2px;
    }
    
    #clubmenu ul
    {
    padding:1em 0 0 0;
    margin:0;
    }
    
    #clubmenu ul li
    {
    position: relative;
    display: inline;
    padding:0;
    margin:0;
    }
    
    #clubmenu ul li a:link, #clubmenu ul li a:visited
    {
            color: #fff;
    	padding: 0.5em 1.0em 0.9em 1.0em;
    	text-decoration: none;
    	border:none;
    }
    
    #clubmenu ul li a:hover, #clubmenu ul li a:active, #clubmenu ul li.current_page_item a
    {
            background-color: black;
    	border: none;
    }
  2. shlinklincoln
    Member
    Posted 6 years ago #

    Also, how can I make the bar sit in the middle of the space?

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic