Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Theme Partial
/* This sets the alignment for all Gutenberg regular, wide and full width content in the Front End */
// Change .entry-content to whatever class wraps your content
.entry-content {
@include gridSection();
& > * {
@include regularContentMaxWidth();
&.alignwide {
@include wideContentMaxWidth();
}
&.alignfull {
@include fullContentMaxWidth();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.