Home › Forums › Support › Same width of photos on mobile This topic has 7 replies, 2 voices, and was last updated 2 years, 1 month ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts March 6, 2022 at 1:02 am #2144028 reistad I have one page where I want the same width of photos on mobile. That works fine on desktop and Ipad but not on mobile. Is there a CSS I can use for that? The page is: https://wfsf.org/past-officers/ March 6, 2022 at 8:08 am #2144436 DavidStaff Customer Support Hi there, are you wanting to keep the text to the right of the image as well ? March 6, 2022 at 9:08 am #2144490 reistad No. It would be best to have the text beneath the picture. It is may be a specific class or id I could use for that post to give a CSS for the mobile version. March 6, 2022 at 9:15 am #2144495 DavidStaff Customer Support A quick CSS fix for that page would be this: .postid-29 .wp-block-image { max-width: 140px; } March 6, 2022 at 9:20 am #2144499 reistad Since this is only a problem for the mobile version. May be a “CSS @media Rule” like the one below will fix the problem for this specific post? @media only screen and (max-device-width: 480px) { .postid-29 .wp-block-image { max-width: 140px; } } March 6, 2022 at 9:28 am #2144504 DavidStaff Customer Support For sure you can apply it within that Media query 🙂 I would probably use this: @media(max-width: 768px) { .postid-29 .wp-block-image { max-width: 140px; } } March 6, 2022 at 10:37 am #2144556 reistad Thank you David! Worked perfect. March 7, 2022 at 3:42 am #2145164 DavidStaff Customer Support Glad to hear that! Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In