Skip to content

Instantly share code, notes, and snippets.

@vfontjr
Last active March 16, 2019 16:26
Show Gist options
  • Save vfontjr/dd1314187c3d8c5e5591638f172ee9dc to your computer and use it in GitHub Desktop.
Save vfontjr/dd1314187c3d8c5e5591638f172ee9dc to your computer and use it in GitHub Desktop.
Adustments to Genesis CSS for Gutenberg
.entry-content .alignfull,
.entry-content .alignwide {
margin-left : calc( -100vw / 2 + 100% / 2 );
margin-right : calc( -100vw / 2 + 100% / 2 );
max-width : 100vw;
}
.full-width-content img.pull-left,
.full-width-content figure.pull-left img {
float: left;
margin: 0 40px 40px -200px;
}
.full-width-content img.pull-left,
.full-width-content figure.pull-right img {
float: right;
margin: 0 -200px 40px 40px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment