Shop Categories

X

Instagram Video

Home Forums Agama Pro Instagram Video

Topic Resolution: Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19617
    Abigail Fish
    Participant

    Hi,

    Is there a way to center align Instagram videos? Right now, I have to copy the embed code straight off of instagram and put it into an HTML widget–but I can’t get the video to resize any smaller and/or be in the center of the screen as well.

    Any help is greatly appreciated!

    Thanks,
    Abbie

    #19699
    Zex
    Moderator

    Hello, Abigail!

    To center your video and change the size, Insert the following code into Customizing->General->Additional CSS:

    iframe#instagram-embed-0 {
        max-width: 300px!important;
        min-width: 200px!important;
        margin-left: auto!important;
        margin-right: auto!important;
    }

    Change the max-width and min-width values as you wish.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Limited time offer : 50 % off : Apply Coupon Code at checkoutnewyear50