Skip to content

Instantly share code, notes, and snippets.

@jamiemarsland
Created November 19, 2024 09:45
Show Gist options
  • Save jamiemarsland/e7922db36962503784fa08b9c6e67afb to your computer and use it in GitHub Desktop.
Save jamiemarsland/e7922db36962503784fa08b9c6e67afb to your computer and use it in GitHub Desktop.
Remove Negative Margin on Images in WordPress
@media only screen and (max-width: 768px) {
.wp-block-image {
margin-left: 0 !important;
margin-right: 0 !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment