wp-caption-text mobile problem

Posted in: Newspaper
Post count: 66

Hi there,

I have a problem with my mobile theme. I’ve noticed that on my Huawei P20 Lite the image captions are not displayed correctly. Image caption was positioned on the left, but was out of the screen. But on Google Chrome DevTools, in Iphone X mode works well, but on Responsive mode not.

I need the caption to be aligned to the left.

Scroll down to “CBD oil is popular among fathers” because here is a long caption.
https://www.sociedelic.com/cannabis-gifts-for-fathers-day-get-your-stoner-dad-some-dope-gifts/

I have tried to add this code Custom Code (Phones), but then it reverses, works well for some devices but fails on others. So, I have removed it.

.tdi_85 .wp-caption-text, .tdi_85 figcaption {
text-align-last: center;
margin: 5px 300px 5px 300px;
}

Thanks.

Post count: 21065

Hello!

Please try to add this CSS code and let me know the results:


.td-pb-span12 .alignwide {
max-width: 100vw!important;
}

Thank you!

Post count: 66

It did something, thank you. But I’m still not happy.
Please check on Google Chrome DevTools. Select Galaxy S5 (bad) and then Iphone X (how it should be). Refresh the page after you change the emulator each time.

The text align on Galaxy S5 it is aligned too far to the left.

https://www.sociedelic.com/cannabis-gifts-for-fathers-day-get-your-stoner-dad-some-dope-gifts/

Thanks.

Post count: 21065

Hello!

I checked all cases like that and it seems it is working pretty good.
Please try to clear your cache and try again.

Let me know the results!

Thank you!

Post count: 66

Please refresh the page after you change the emulator.
https://i.ibb.co/7zzmSb2/Untitled-1.jpg

I think this is happening because I use “wide width” image alignment. But it seems that it doesn’t work on all devices.

I want it to work well and the caption to be aligned just like the rest of the text on the page. Because if it’s working well an all devices, then we can adjust easier the paddings. Is that correct?

Thank you!

Post count: 21065

Hello!

Please send an email at contact@tagdiv.com and provide wp-admin and Cpanel access, so we can investigate this issue. Also paste a link to this topic so we can easily identify you.
Let us know and we will gladly assist you.

Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.