Hi Tom,
Love the Page Builder Container Layout option in GP. Works great with elementor to use the Full Width option.
I am testing Gutenberg and prefer the ‘Default’ option to provide standard theme default margins and padding.
I was trying to use the technique described in this codepen: CSS Only Full-width Image Where Parent Div is not Full Width to style the full width images.
The cover image with .alignfull class applied was looking like this…
I applied the below code.
.alignfull {
width: 100vw;
display: block;
margin-left: 50%;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%);
}
The cover image with .alignfull class applied and custom styling after I applied the above code.
Do you have any custom CSS to style the .alignfull and .alignwide whilst using ‘default’ or ‘contained’ Page Builder Container Layout options?