Home › Forums › Support › Full width images in all pages/posts on mobile This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts June 26, 2021 at 4:44 am #1835612 Fai Hi guys, I’ve been looking through the forum but did not find a solution. I’m trying to make images on my pages and posts display from edge to edge on mobile. I’ve used the css code below. It worked for margin-left but not for margin-right. @media (max-width:768px){ img { margin-left: -10px; margin-right: -10px; } Thanks! June 26, 2021 at 4:49 am #1835614 DavidStaff Customer Support Hi there, try this: @media (max-width:768px) { .entry-content img { margin-left: -10px; max-width: 100vw !important; } } I have added the entry-content class so it only affects images inside your post content. June 26, 2021 at 5:07 am #1835623 Fai worked perfectly. thank you for the quick response! June 26, 2021 at 6:26 am #1835670 DavidStaff Customer Support Glad to be of help Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In