Add class to group inner container

Question

I want to add class to my group block, to the container “wp-block-group__inner-container“. I know it’s possible to add a div before with render_block, but I want to add bootstrap class like this :

<div class="wp-block-group row">
    <div class="wp-block-group__inner-container col-12 col-lg-10 offset-lg-1 py-3">
    </div>
</div>

How can I do this ?

Thank you !

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/add-class-to-group-inner-container/">

Add class to group inner container</a>
0
, , , Nicolas Lorand 3 days 0 Answers 8 views 0

Leave an answer