Tagged: Image Styling and Caption
-
AuthorPosts
-
December 19, 2023 at 1:55 pm #1428499December 20, 2023 at 3:50 am #1428551
Hey antdesign01,
Thank you for the inquiry.
The styles are enclosed within a css media query for desktop view, which is why the styles are not applied on mobile view.
@media only screen and (min-width: 989px) { }
If this wasn’t intentional, ensure that the css rules and other media queries are correctly closed.
Best regards,
IsmaelDecember 20, 2023 at 6:49 am #1428561Hi Ismael,
Thank you for your response, I have looked at the code and “@media only screen and (min-width: 989px) { }” is not included in that block at all. Are you saying that I need to include that block to have them work with mobile devices (so have the css added twice, once with that reference?).
December 20, 2023 at 10:30 am #1428577Hi,
I’m seeing the same thing as Ismael, your styles seems to be in a media query. If you need further help with this, then please post admin WordPress login details in private.
Best regards,
RikardDecember 20, 2023 at 12:33 pm #1428591Hi Ismael and Rikard, shared credentials herewith. Please let me know where I’ve gone wrong so that I can ensure to learn from the mistake.
Thank you!
December 20, 2023 at 3:46 pm #1428611Hi,
Thanks for that. This media query doesn’t seem to be closed:
@media only screen and (min-width:989px) { .phone-info { font-size: 14px; padding-top: 20px; padding-bottom: 20px; padding-right: 100px;}
Best regards,
RikardDecember 20, 2023 at 10:36 pm #1428631Hi Rikard, Wow. It would have taken me ages to find that error as that css is totally unrelated to the part I was working on… thank you so much, that looks like it’s fixed the issue!
December 21, 2023 at 2:49 pm #1428663Hi,
Great, I’m glad that we could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardDecember 21, 2023 at 2:55 pm #1428665Yes, please close this thread. Cheers for the help.
December 21, 2023 at 4:34 pm #1428678Hi,
Thanks for letting us know, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Image and Caption Styling not working on mobile devices.’ is closed to new replies.