WordPress.org

Ready to get started?Download WordPress

Forums

Simple Image Widget
[resolved] Cannot center the images like before (4 posts)

  1. lauritasita
    Member
    Posted 1 year ago #

    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/

  2. Brady Vercher
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. lauritasita
    Member
    Posted 1 year ago #

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

    -Laura

  4. Brady Vercher
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic