WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Get nag bar on one line (5 posts)

  1. mooredesign
    Member
    Posted 1 year ago #

    I added another page to my twentlyeleven child theme and it bumped the nav onto two lines. How can I reduce the space between the nav items to make them all fit on one line?

    http://www.sendelldesigngroup.com

    Thx!

  2. Marvel Labs
    Member
    Posted 1 year ago #

    Go to your themes style sheet
    and on line 82 edit following
    #access div {
    margin: 0 7.6%;}

    to

    #access div {
    margin: 0 auto;}

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Since you are using a Child Theme, you should copy the the above to your child theme stylesheet and make the changes there. To reduce the space between the items, copy this and change the padding according to the spacing you want:

    #access a {
       padding: 0 1.2125em;
    }
  4. mooredesign
    Member
    Posted 1 year ago #

    Thanks! I used both of your suggestions and they both worked perfectly.

  5. Marvel Labs
    Member
    Posted 1 year ago #

    kindly set the thread to resolved

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags