Title: main menu adding spacing
Last modified: August 31, 2016

---

# main menu adding spacing

 *  [lightscientist](https://wordpress.org/support/users/lightscientist/)
 * (@lightscientist)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/main-menu-adding-spacing/)
 * Hi,
 * when I click a link in the main menu, there is “phantom” spacing being added 
   before the end of each link, which makes my menu break down into two rows. The
   spacing doesn’t show in CSS.
    When I refresh the page, the spacing is gone and
   the menu looks good. Does anyone know why this might be happening? I tried removing
   padding in CSS, but it doesn’t help.
 * Here’s a screenshot: [http://jelena-art.com/scrn.jpg](http://jelena-art.com/scrn.jpg)
 * As far as I’ve seen, this only happens in Chrome (on Windows).

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

 *  [jjwebb](https://wordpress.org/support/users/jjwebb/)
 * (@jjwebb)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/main-menu-adding-spacing/#post-7091898)
 * Try adding the `:active` selector after your anchor link and set padding-right
   to 0.
 *  Thread Starter [lightscientist](https://wordpress.org/support/users/lightscientist/)
 * (@lightscientist)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/main-menu-adding-spacing/#post-7091929)
 * Thanks [@jjwebb](https://wordpress.org/support/users/jjwebb/), but it’s not working…
   This doesn’t only happen to :active links

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

The topic ‘main menu adding spacing’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/make/1.10.9/screenshot.jpg)
 * Make
 * [Support Threads](https://wordpress.org/support/theme/make/)
 * [Active Topics](https://wordpress.org/support/theme/make/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/make/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/make/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [lightscientist](https://wordpress.org/support/users/lightscientist/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/main-menu-adding-spacing/#post-7091929)
 * Status: not resolved