Title: Centering Slideshow
Last modified: August 20, 2016

---

# Centering Slideshow

 *  Resolved [richelle@richellehunter.com](https://wordpress.org/support/users/richellerichellehuntercom/)
 * (@richellerichellehuntercom)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/centering-slideshow/)
 * Hi there!
 * How do I center the Slideshow? It’s alotted left, can’t figure it out!
 * Thanks so much!!!
 * [http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/](http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/)

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

 *  Plugin Author [Stefan Boonstra](https://wordpress.org/support/users/stefanboonstra/)
 * (@stefanboonstra)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/centering-slideshow/#post-3550749)
 * Hi,
 * To center a slideshow you’ll need to create a custom style. You can read how 
   to do this in the [FAQ section](http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/faq/).
   To center the slideshow on the page, give the ‘.slideshow_container’ class the
   following CSS value:
 *     ```
       .slideshow_container {
           margin: 0 auto; /* This centers the slideshow, if the slideshow has a maximum width. */
       }
       ```
   
 * Best regards,
    Stefan
 *  Thread Starter [richelle@richellehunter.com](https://wordpress.org/support/users/richellerichellehuntercom/)
 * (@richellerichellehuntercom)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/centering-slideshow/#post-3550827)
 * Thanks so much Stefan!
 *  [mkm-foto](https://wordpress.org/support/users/mkm-foto/)
 * (@mkm-foto)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/centering-slideshow/#post-3551099)
 * Hi, Stefan
 * That works for centering the slideshow horizontally, but how can I vertically
   center the images within the slideshow?
 * Thank you very much
 *  Plugin Author [Stefan Boonstra](https://wordpress.org/support/users/stefanboonstra/)
 * (@stefanboonstra)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/centering-slideshow/#post-3551100)
 * Hi,
 * I’m sorry, centering the images vertically in the slideshow isn’t possible yet.
   It’s a feature that’s planned for a future release, but a date of release has
   not yet been set.
 * Best regards,
    Stefan
 *  [mkm-foto](https://wordpress.org/support/users/mkm-foto/)
 * (@mkm-foto)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/centering-slideshow/#post-3551101)
 * Ok, Stefan, thanks for the info anyway…
 * Best Regards,
    Raúl
 *  [leoly](https://wordpress.org/support/users/leoly/)
 * (@leoly)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/centering-slideshow/#post-3551102)
 * Hello, I added the css value above, and it overrode my other css stylings. I 
   initially had margin-top: -50px and margin-bottom: 50px, to move the slider flush
   with my menu and add more space between the content below.
 * I used the centering css value above, because on some browsers the slideshow 
   was floating left, I just wanted something, where no matter the browser or screen
   size the slideshow would be centered or if possible automatically adjust to size.
 * Is this possible?
 *  Plugin Author [Stefan Boonstra](https://wordpress.org/support/users/stefanboonstra/)
 * (@stefanboonstra)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/centering-slideshow/#post-3551103)
 * Hi,
 * The margin in the example sets the top and bottom margin to ‘0’, as it’s what
   most people use as default. If you want to set a top and bottom margin with it,
   you should do it like this:
 *     ```
       .slideshow_container {
           margin: -50px auto 50px;
       }
       ```
   
 * More information on the margin rule can be found [here](http://www.w3schools.com/css/css_margin.asp).
 * Best regards,
    Stefan
 *  [leoly](https://wordpress.org/support/users/leoly/)
 * (@leoly)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/centering-slideshow/#post-3551104)
 * Thank you so much for your awesome plugin and support. Fixed my problem, after
   struggling for so long to find a slider that works, thanks a lot.

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

The topic ‘Centering Slideshow’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshow-jquery-image-gallery_d3d2de.
   svg)
 * [Slideshow](https://wordpress.org/plugins/slideshow-jquery-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-jquery-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [leoly](https://wordpress.org/support/users/leoly/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/centering-slideshow/#post-3551104)
 * Status: resolved