Using the html block with twentig
-
I have been scratching my head about this. Twentig adds CSS to the gutenberg HTML block that makes it the “default text width” and does not respect adding to a group for align wide or align full, so any HTML I put into a site I need to create a div with that specific class (.alignwide).
Is there a way to have shortcodes and HTML block respect default behaviors?
*[class*=inner-container] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce), .default-max-width, .entry-content .wp-audio-shortcode, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce), .post-thumbnail { max-width: var(--responsive--aligndefault-width); margin-left: auto; margin-right: auto; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using the html block with twentig’ is closed to new replies.