# Adding a shortcode to a Beaver Themer Part Layout causes the main article to lose it's CSS styling

**URL:** <https://community.wpbeaverbuilder.com/t/adding-a-shortcode-to-a-beaver-themer-part-layout-causes-the-main-article-to-lose-its-css-styling/18433>\
**Category:** Beaver Themer\
**Created:** [April 1, 2024, 3:52pm UTC](https://community.wpbeaverbuilder.com/t/adding-a-shortcode-to-a-beaver-themer-part-layout-causes-the-main-article-to-lose-its-css-styling/18433 "2024-04-01T15:52:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snowliondev](https://community.wpbeaverbuilder.com/letter_avatar_proxy/v4/letter/s/c67d28/32.png) [@snowliondev](https://community.wpbeaverbuilder.com/u/snowliondev)\
**Post date:** [April 1, 2024, 3:52pm UTC](https://community.wpbeaverbuilder.com/t/adding-a-shortcode-to-a-beaver-themer-part-layout-causes-the-main-article-to-lose-its-css-styling/18433/1 "2024-04-01T15:52:06Z")

</div>

When using a custom shortcode in a Beaver Builder page, it functions properly. However, when transferring the same content to a Beaver Themer layout using the **Part** type and rendering it **Above Main Content** , the styling of the content below it within the main content becomes unstyled and broken. Removing the shortcode from the Beaver Themer template resolves the styling issues.

Why is this happening? How can i include a shortcode in a BB themer template without it breaking?

I am guessing it is to do with order of execution. For some reason the shortcode breaks the order before the main content can load the BB styling.
