Title: Decrease Primary menu spacing
Last modified: August 22, 2016

---

# Decrease Primary menu spacing

 *  Resolved [bwhxeon](https://wordpress.org/support/users/bwhxeon/)
 * (@bwhxeon)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/decrease-primary-menu-spacing/)
 * I’m trying to decrease the spacing between primary menu navigation links/buttons.
   The gap between the letters and the border is to much and I thought this was 
   a padding issue, but any padding makes it worse. Is there a way to reduce the
   space between the letters in the menu and the borders on the left and right?
 * Please reference my previous thread as I do not wish to directly link the website
   again on the forum.
    [https://wordpress.org/support/topic/strange-red-border-cant-find-the-code?replies=2](https://wordpress.org/support/topic/strange-red-border-cant-find-the-code?replies=2)
 * [URL=http://s33.photobucket.com/user/heilandbrandon/media/image_zps9218579e.jpg.
   html][IMG]http://i33.photobucket.com/albums/d76/heilandbrandon/image_zps9218579e.
   jpg[/IMG][/URL]

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/decrease-primary-menu-spacing/#post-5397078)
 * Hey, try adding this to your custom css box in theme options:
 *     ```
       .sf-menu a {
       padding: 7px 15px;
       }
       #nav-main {
       margin-left: 30px;
       }
       ```
   
 * Hannah
 *  Thread Starter [bwhxeon](https://wordpress.org/support/users/bwhxeon/)
 * (@bwhxeon)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/decrease-primary-menu-spacing/#post-5397167)
 * Perfect, thank you Hannah

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

The topic ‘Decrease Primary menu spacing’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bwhxeon](https://wordpress.org/support/users/bwhxeon/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/decrease-primary-menu-spacing/#post-5397167)
 * Status: resolved