What does this code do?
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
max-width: 1280px;
}
I have a frontend management setup, that somehow is squeezed into 680px. Setting this to 1280px fixes it, but will that affect everything on my site. Is it a theme thing, a wp thing or is it coming from the plugin?
]]>is there a way to set by code the global max-width of generate blocks?
I developing a custom theme and I would like to set this variable reading it from theme.json or a custom option in WP Customizer.
Thank you
]]>I thought there should be a setting to change this but I couldn’t find any.
I tried to add some custome CSS:
@media (max-width: 1200px) {
#ast-desktop-header {
display: none;
}
#ast-mobile-header {
display: block;
}
}
which works for the initial header, however apparently it’s not that issue. Upon clicking on the off-canvas-menu item, the toggle menu doesn’t appear. It seems some more adaptations in CSS would be necessary.
Is there really no setting to change this?
If not, can someone help me with the remaining CSS adaptations?
]]>Here is a screenshot from version 1.7.13 with browser width > 1200px
Next is a screenshot from version 1.8.4 with browser width > 1200px
You can see that the image moves outside of the block while the text is still in its wrapping position. I turned on the web developer outline block levels to see where the boundaries are.
Now here’s a screenschot from 1.8.4 when the browser window is < 1200px.
Everything is back to normal!
I could not figure out where the problem in the CSS lies. For the time being I’ve rolled back to 1.7.13 and everything looks fine.
Please advise!
Thank you!
]]>Example of Code:
$image = wp_get_image_editor( 'cool_image.jpg' );
if ( ! is_wp_error( $image ) ) {
$image->resize( 1600, 1600, false );
$image->save( 'new_image.jpg' );
}
]]>box-sizing: border-box;
which I believe it did in the past.max-width: none;
This was marked resolved but it is not.
.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce), .entry-content > .wp-block-pdfemb-pdf-embedder-viewer
]]>Thank you for suppling this plugin, My post image broken the page for below css:
.entry-content>:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce), .entry-content>.wp-block-pdfemb-pdf-embedder-viewer{max-width:none}
Is there anyway to fix it?
]]>It seems that lack of max width in this theme, makes things hard for widgets, photos and other things.
Can that be limited?
Thanks
]]>