# Override Bootstrap css classes in Pinegrow and WP Blocks

**URL:** <https://forum.pinegrow.com/t/override-bootstrap-css-classes-in-pinegrow-and-wp-blocks/6704>\
**Category:** Styling (CSS)\
**Tags:** css, blocks, bootstrap5\
**Created:** [July 20, 2022, 11:01am UTC](https://forum.pinegrow.com/t/override-bootstrap-css-classes-in-pinegrow-and-wp-blocks/6704 "2022-07-20T11:01:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@Jorge](https://forum.pinegrow.com/u/Jorge)\
**Post date:** [July 20, 2022, 11:01am UTC](https://forum.pinegrow.com/t/override-bootstrap-css-classes-in-pinegrow-and-wp-blocks/6704/1 "2022-07-20T11:01:39Z")

</div>

Hello there.  
I am struggling to understand / implement the override of bootstrap css in Pinegrow. I followed the great tutorial from @RobM - Dynamic Blocks, ([here](https://pinegrow.com/docs/wordpress/courses-tutorials/creating-the-agency-wordpress-theme/dynamic-blocks/)) and I am a bit surprised that it seems it’s not possible to override Bootstrap’s css classes through native Wordpress blocks controls like color pickers?

In the video it’s appointed a solution involving a dropdown to select different colors which is not ideal at all for user experience.

1. Does this problem persists and there are no other solutions?
2. Is this problem limited to Bootstrap and can I use Tailwind instead to be able to use native controls to override blocks’s css classes?

Thanks  
Jorge

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [July 24, 2022, 11:10am UTC](https://forum.pinegrow.com/t/override-bootstrap-css-classes-in-pinegrow-and-wp-blocks/6704/2 "2022-07-24T11:10:11Z")

</div>

@Jorge in these examples, BS color classes are just classes, not colors (from the perspective of the custom block). To show that as WP color pickers, a some kind of WP Block editor extension or custom control would be needed.

We have no plans to implement this at the moment.

We’ll keep an eye out if there will be a simple way to add that, perhaps as a part of FSE theme setup.

Using TW would not be any different.
