- This topic has 4 replies, 2 voices, and was last updated 7 years, 8 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.


Home › Forums › Pro Themes › Yummy Pro › Images from Instagram are not centered on mobile phone display
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.
Thank you for your help
Sorry I forgot my question 🙂
How can I centered them?
Thank you
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!!
thank you very very much
Hello @com4digital,
Glad we could help.
let us know if you have any issue further.
Thank you.
Best Regards!!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |



