Forums

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

  1. mooredesign
    Member
    Posted 6 months 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 6 months 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 6 months 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 6 months ago #

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

  5. Marvel Labs
    Member
    Posted 6 months ago #

    kindly set the thread to resolved

Reply

You must log in to post.

About this Topic

Tags