Title: Metaslider &gt; margin
Last modified: August 24, 2016

---

# Metaslider > margin

 *  Resolved [antoineO](https://wordpress.org/support/users/antoineo/)
 * (@antoineo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/metaslider-margin/)
 * Hi,
 * I use Metaslider and I would like to remove the margin-top between the header
   menu and the metaslider on this page : [http://viticulteur-exemple.fr/notre-domaine](http://viticulteur-exemple.fr/notre-domaine)
 * How can I do it please ?
 * Thanks for your help!

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

 *  [Luke Stacey](https://wordpress.org/support/users/daftduke/)
 * (@daftduke)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/metaslider-margin/#post-5995720)
 * Hi there!
 * This should do the trick for you:
 *     ```
       #panel-140-0-0-0 {
         margin-top:  0;
       }
   
       .page-id-140>#wrapper>.wrap.contentclass {
         padding-top:  0;
       }
       ```
   
 * You can paste this code in your [child theme’s](http://codex.wordpress.org/Child_Themes)
   style.css or in a custom css plugin such as [Simple Custom CSS](https://wordpress.org/plugins/simple-custom-css/).
 * Lovely site btw, the picture looks beautiful 🙂
 * Cheers,
 * Luke the Daft Duke
 *  Thread Starter [antoineO](https://wordpress.org/support/users/antoineo/)
 * (@antoineo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/metaslider-margin/#post-5995722)
 * Thanks Luke for your comment and your help ! It works perfectly.
 * Can you explain to me why there are 2 codes ?
 *  [Luke Stacey](https://wordpress.org/support/users/daftduke/)
 * (@daftduke)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/metaslider-margin/#post-5995727)
 * Great! I’m glad it worked for you 🙂
 * There were two elements that created the gap.
 * Removing the margin from the first one almost closed it but there was 15px of
   space left, which was removed by reducing the padding on one of the container
   elements.
 *  Thread Starter [antoineO](https://wordpress.org/support/users/antoineo/)
 * (@antoineo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/metaslider-margin/#post-5995733)
 * Splendid ! thank you very much Luke !

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

The topic ‘Metaslider > margin’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [antoineO](https://wordpress.org/support/users/antoineo/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/metaslider-margin/#post-5995733)
 * Status: resolved