Blocks
Change what a block draws
Open ugly-blocks//render.php in your theme and edit it. Inside it, ugly_get( 'name' ) and ugly_show( 'name' ) read the fields of that block.
<section class="card">
<h3><?php ugly_show( 'title' ); ?></h3>
<?php ugly_show( 'text' ); ?>
</section>On the edit screen of the block, The box around the block says if the block is wrapped in a <div> that carries the alignment, colors and class the editor sets. Switch it off if your file draws its own box and calls get_block_wrapper_attributes().
Did this article answer your question?
Thank you. It helps us make the documentation better. Need more help?