Title: Remove extra space
Last modified: May 7, 2020

---

# Remove extra space

 *  Resolved [crassandcrudegifts](https://wordpress.org/support/users/crassandcrudegifts/)
 * (@crassandcrudegifts)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/remove-extra-space-3/)
 * I would love to tighten up the space on my front page. Specifically between my
   logo and primary menu & between the banner and the product category. Please let
   me know any suggestions.
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-extra-space-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/remove-extra-space-3/#post-12801811)
 * To remove the space between the logo and the primary menu a little, add this 
   CSS code:
 *     ```
       .secondary-navigation,
       .site-search {
         margin-bottom: 0;
       }
       ```
   
 * Then to reduce the space between the banner and the products, add this code:
 *     ```
       .home .sph-hero {
         margin-bottom: 10px;
       }
       ```
   
 *  Thread Starter [crassandcrudegifts](https://wordpress.org/support/users/crassandcrudegifts/)
 * (@crassandcrudegifts)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/remove-extra-space-3/#post-12804500)
 * Thank you. That worked, however, is there a way to move up the pink banner toward
   the primary menu?
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/remove-extra-space-3/#post-12814280)
 * You can do that by adding the following CSS code:
 *     ```
       #content {
         margin-top: -20px !important
       }
   
       .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a,
       .site-header-cart .cart-contents {
           padding-bottom: 0;
       }
       ```
   

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

The topic ‘Remove extra space’ is closed to new replies.

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

## Tags

 * [front page](https://wordpress.org/support/topic-tag/front-page/)
 * [space](https://wordpress.org/support/topic-tag/space/)

 * 3 replies
 * 2 participants
 * Last reply from: [Senff – a11n](https://wordpress.org/support/users/senff/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/remove-extra-space-3/#post-12814280)
 * Status: resolved