WordPress.org

Ready to get started?Download WordPress

Forums

Simply Instagram
[resolved] Center images in sidebar widget? (10 posts)

  1. Rebecca
    Member
    Posted 1 year ago #

    How do I center images in the sidebar widget?

    Thanks for a great plugin! :)
    /Rebecca

    http://wordpress.org/extend/plugins/simply-instagram/

  2. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Rebecca,

    You can use CSS.

    Cheers!

  3. Rebecca
    Member
    Posted 1 year ago #

    Hi.

    Thanks for your answer. My question wasn´t so clear.
    I know that I should use CSS, but I am no expert, even though I usually can make small changes like this. I have tried, but I can´t find where to do the channges to get the photos in the widget to center.

    /Rebecca

  4. nicolejhm
    Member
    Posted 1 year ago #

    i am having the same problem. could you post the css that we need to paste into the css editor in order to resolve this issue? i love the plugin so much, but this is driving me nuts! :)

  5. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Probably best if you post your site here so I can take a look. :)

  6. nicolejhm
    Member
    Posted 1 year ago #

    sure! :) it's http://thesamerainbowsend.com. thank you!

  7. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Hi nicole,

    add this code in simply-instagram.css on line 33:

    float: left;
    width: 145px;

    Depends if you want to use another SI widget and use
    different image width, just add float property only
    and edit your image width to 145px in widget settings.

    This is the screenshot of your website after you make this
    changes:

    http://i49.tinypic.com/2priqf5.png

    Thanks

  8. nicolejhm
    Member
    Posted 1 year ago #

    hello! thank you for the code--however, when i attempted this, it gave me the message that the plugin had been deactivated because of a fatal error. :( once i deleted the code i had inserted, it was fine again. i'm sure i just didn't do something right; i'm not so smart about css! but in any case, i did find a simple fix for this issue--i just bumped up the image size setting to 145, and voila, centered pictures. :) so that might be some helpful advice for people who are css noobs, like me! :) thank you for your help!

  9. chrisplyon
    Member
    Posted 11 months ago #

    Coukd you make this a setting in a future release?

  10. Maggew Dot Com
    Member
    Posted 3 months ago #

    Copy / Paste this into your widget:

    <div align="center">
    <img alt="image-title" src="/image/link/here.jpg" title="Image Title" width="XYZpx">
    </div>

    Ensure "Automatically add paragraphs" is UNCHECKED

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic