WordPress.org

Ready to get started?Download WordPress

Forums

Easy Instagram
[resolved] Centre Photos (6 posts)

  1. breacher18
    Member
    Posted 1 year ago #

    Can I add to the embed tag to centre the pictures?

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

  2. VeloMedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    The way the pictures are aligned can be customized directly from the CSS.

  3. breacher18
    Member
    Posted 1 year ago #

    Is this the CSS of the plugin that you are referring to?

  4. VeloMedia
    Member
    Plugin Author

    Posted 1 year ago #

    You can control their style directly from the css of your website, from style.css.

  5. breacher18
    Member
    Posted 1 year ago #

    Please could you tell me what I would be looking for in the theme style.css ?

  6. VeloMedia
    Member
    Plugin Author

    Posted 1 year ago #

    If you want to center align the picture you need to add in your style.css the following:

    div.easy-instagram-thumbnail-wrapper {text-align:center;}

    This actually will align all the content to center. If you want just the image to be center aligned but you want to keep the text aligned to left you also need to add:

    div.easy-instagram-thumbnail-author, div.easy-instagram-thumbnail-caption, div.easy-instagram-thumbnail-time{
    text-align:left;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic