Title: Vertical align issues
Last modified: August 21, 2016

---

# Vertical align issues

 *  [yotikewebdesign](https://wordpress.org/support/users/yotikewebdesign/)
 * (@yotikewebdesign)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/vertical-align-issues/)
 * Hi there,
    I’ve made some css modications and I am trying to vertically align
   the images in the slider. The problem I’m having is that although the images 
   are vertically aligned in the first slide, in the second slide this is overwritten(
   I think by the javascript) and the image is no longer align. Any help would be
   greatly appreciated.
 * The website is:
    [http://www.rockfellaz.com/](http://www.rockfellaz.com/)
 * Here is the CSS I have added:
 *     ```
       img.logo-img {
       width: 110px;
         margin-right: 20px;
         vertical-align: middle;
       }
   
       div#logo-slider-wraper ul#logo-slider {
         margin: 0 auto;
       }
   
       div#logo-slider-wraper div.slider-controls {
         margin-right: auto;
         margin-left: auto;
         top: 20px;
       }
       ```
   
 * I have also added some mobile optimised CSS which I don’t think has any impact
   on this.
 * Thanks so so much!
 * [http://wordpress.org/extend/plugins/logo-slider/](http://wordpress.org/extend/plugins/logo-slider/)

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

 *  Plugin Author [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/vertical-align-issues/#post-3897830)
 * I checked it and it looks like it’s perfectly aligned to me. Maybe a cross browser
   issue? What browser are you testing in? (I’m in Chrome)
 * Also checked for javascript errors but no problems I can see
 *  Thread Starter [yotikewebdesign](https://wordpress.org/support/users/yotikewebdesign/)
 * (@yotikewebdesign)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/vertical-align-issues/#post-3897832)
 * Hi Maeve,
    The first slide is ok. But the second slide has the alignment issues,
   I just checked in Chrome, the same issue occurs. [http://cl.ly/image/162I0X2J0b1l](http://cl.ly/image/162I0X2J0b1l)
   [http://cl.ly/image/141R1b3v1b1f](http://cl.ly/image/141R1b3v1b1f)
 * I think it is the vertical alignment img css being overpowered by the javascript
 *  Plugin Author [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/vertical-align-issues/#post-3897899)
 * Ok will check it out and see if I can replicate.
 * In the meantime an easy workaround is to save all your images with the same dimensions
   with logos centred horizontally and vertically.
 *  [ivank123](https://wordpress.org/support/users/ivank123/)
 * (@ivank123)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/vertical-align-issues/#post-3897928)
 * Hi there. I had the same problem and could solve it. Try with this:
    `.logo-img{
   margin:auto 12px;vertical-align: middle;}`

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

The topic ‘Vertical align issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/logo-slider_b4e4d1.svg)
 * [Logo Slider](https://wordpress.org/plugins/logo-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/logo-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/logo-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/logo-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/logo-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/logo-slider/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [vertical-align](https://wordpress.org/support/topic-tag/vertical-align/)

 * 4 replies
 * 3 participants
 * Last reply from: [ivank123](https://wordpress.org/support/users/ivank123/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/vertical-align-issues/#post-3897928)
 * Status: not resolved