WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Cannot center the images like before

[Resolved] Cannot center the images like before

  • Hi Brady,

    I’ve been a huge fan of this plugin for a few years now and I just noticed that the plugin is not working the way it had been previously when I upgraded to WordPress 3.5.1 which just recently came out.

    I can still see the images on the sidebar where I uploaded all my images using this plugin, however, I used to be able to center them using the following CSS that I inserted into my theme <head> section using this:

    .simpleimage {
    text-align: center;
    }

    After the upgrade, I find that I cannot use this CSS style. Have you changed these statements, or can you give me an alternate way of centering the images using the plugin? I really loved this plugin and I was hoping to continue using it. I just need the images centered in the sidebar like I was able to previously.

    Thank you.

    Laura Tower

    http://wordpress.org/extend/plugins/simple-image-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brady Vercher

    @bradyvercher

    Hi Laura,

    You can still target the widget using CSS. I believe the old version had an extra div that had the class you referenced, but the main widget class is still the same so you can use it to apply styles to your widgets. This should work:

    .widget_simpleimage {
    text-align: center;
    }

    You may need to adjust that depending on your theme or target the image specifically if you don’t want all of the widget’s contents centered. Hope that helps.

    – Brady

    Thank you so much. I think that did the trick!

    -Laura

    Plugin Author Brady Vercher

    @bradyvercher

    Glad to hear it! Let me know if you come across any other issues.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Cannot center the images like before’ is closed to new replies.