Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Gutenberg Columns Block … Change HTML Output

$
0
0

Replies: 0

Hi there!

I’m finally pulling the trigger and trying to update my custom theme to use Gutenberg. I implemented columns using a custom TinyMCE addition a long time ago, and the theme uses the following HTML on the front-end to output the cols:


<column-set>
	<column class="two-thirds">
	</column>
	<column class="one-third">
	</column>
</column-set>

Question 1:

I don’t see a way to specify non-consistent sizes. IE, 2/3rds and 1/3rd.

Question 2:

How do I filter the output? It looks like it’s outputting <divs> with “wp-block-column” as the column. I need to change the tagname and classes.

Thanks!


Viewing all articles
Browse latest Browse all 59525

Trending Articles