Home › Forums › Support › Modify Post Margin Height on Mobile This topic has 3 replies, 2 voices, and was last updated 3 years, 9 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 21, 2020 at 7:24 am #1370790 Andres Hello, I’m using the CSS below to set the left, right, and top margins on posts. On mobile, it’s setting the top margin to 80px. .single .container.grid-container { max-width: 950px; margin-top: 80px; } To set the top margin in mobile, would the following CSS work (X = px value)? @media (max-width: 768px) { .single .container.grid-container { margin-top: Xpx; } } Thank you very much, and have a good day. Cheers! Andrés July 21, 2020 at 7:55 am #1370952 DavidStaff Customer Support Hi there, that should work fine. Make sure the Mobile CSS comes after the desktop CSS. July 21, 2020 at 9:19 am #1371060 Andres Hi David, Thanks! Will do. Have a good day. Andrés July 22, 2020 at 12:34 am #1371756 DavidStaff Customer Support Glad we could 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