Title: Slideshow JS adding margin-top
Last modified: August 20, 2016

---

# Slideshow JS adding margin-top

 *  [frigidlight](https://wordpress.org/support/users/frigidlight/)
 * (@frigidlight)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/slideshow-js-adding-margin-top/)
 * I’m trying to use NextGEN Gallery to have a homepage slideshow on my website.
   I am using the latest version of the Autofocus theme by Allan Cole/Theme Supply
   Co and on the homepage there is some JS code associated with the slideshow (I
   think) adding -355, 55, and 57 pixels of margin to the top of the slideshow image
   for only some of the images. Each will have one of the different dimensions and
   some of them have no extra margin and display just fine. I can’t find any code
   in the plugin that would be doing this. Only by adding an !important line of 
   css to my style.css file can I make this problem go away, and obviously this 
   is not ideal. Any ideas where this extra margin is coming from?
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [frigidlight](https://wordpress.org/support/users/frigidlight/)
 * (@frigidlight)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/slideshow-js-adding-margin-top/#post-3522509)
 * No idea on this? I managed to fix this problem with an !important tag, but obviously
   that’s not ideal.

Viewing 1 replies (of 1 total)

The topic ‘Slideshow JS adding margin-top’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [frigidlight](https://wordpress.org/support/users/frigidlight/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/slideshow-js-adding-margin-top/#post-3522509)
 * Status: not resolved