Home Forums Pro Themes Yummy Pro Images from Instagram are not centered on mobile phone display

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #69261
    Allyssa
    Participant

    Hello,

    Is there a way for images from Instagram to be centered when displayed on a mobile phone please?

    All is ok on the desktop but the images are displayed left on all the mobile phones.

    I tried with diffrent mobile phones (samsung S8, S6, A5 2017, Iphone 6, huawei P9 lite, Huawei P8 2017, honor 9 and honor 7X) and the images from Instagram are left-dispalyed.

    https://prntscr.com/izp3i9

    Thank you for your help

    #69282
    Allyssa
    Participant

    Sorry I forgot my question 🙂

    How can I centered them?

    Thank you

    #69295
    wensolutions
    Keymaster

    Hello @com4digital,

    To center, the image of the Instagram use below given CSS.

    @media (max-width:766.99px){
    .tp-instagram li.column-wrapper a {
        display: block;
    }
    
    .tp-instagram li.column-wrapper a img {
        display: block;
        margin: 0 auto;
    }
    }

    Hope this helps.

    Best Regards!!

    #69330
    Allyssa
    Participant

    thank you very very much

    #69334
    wensolutions
    Keymaster

    Hello @com4digital,

    Glad we could help.

    let us know if you have any issue further.

    Thank you.

    Best Regards!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.