Home › Forums › Support › Figures (img + caption) full width in mobile view This topic has 5 replies, 2 voices, and was last updated 3 years, 3 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts March 9, 2023 at 4:42 am #2561350 twarrior Following this post: https://generatepress.com/forums/topic/full-width-images-in-all-pages-posts-on-mobile/?bbp_reply_to=1835614&_wpnonce=4758f74e47 I have tried this code from David to make images on pages display full width on mobile, but doesnt work: @media (max-width:768px) { .entry-content figure { margin-left: -10px; max-width: 100vw !important; } } any idea to make figures (img + caption) full width in mobile view? March 9, 2023 at 5:04 am #2561371 DavidStaff Customer Support Hi there, the url is behind a maintenance mode, can i have a login ? 🙂 March 9, 2023 at 5:13 am #2561383 twarrior sorry. maintenance mode off March 9, 2023 at 5:54 am #2561432 DavidStaff Customer Support Try this: @media (max-width: 768px) { .entry-content figure[class*="image"] { margin-left: -10px; margin-right: -10px; max-width: 100vw !important; } } i also limited the css to affect only figure elements that are for the image Just in case there are other non image figures on the page. March 9, 2023 at 6:14 am #2561449 twarrior great! March 9, 2023 at 6:46 am #2561486 DavidStaff Customer Support Glad to be of help Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In