# Styles Not Loading When Dynamically Loading Content via AJAX in Bricks

**URL:** <https://forum.bricksbuilder.io/t/styles-not-loading-when-dynamically-loading-content-via-ajax-in-bricks/29907>\
**Category:** How To\
**Created:** [February 3, 2025, 1:30am UTC](https://forum.bricksbuilder.io/t/styles-not-loading-when-dynamically-loading-content-via-ajax-in-bricks/29907 "2025-02-03T01:30:29Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![moalla](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/moalla/32/24411_2.png) [@moalla](https://forum.bricksbuilder.io/u/moalla)\
**Post date:** [March 9, 2025, 11:54am UTC](https://forum.bricksbuilder.io/t/styles-not-loading-when-dynamically-loading-content-via-ajax-in-bricks/29907/11 "2025-03-09T11:54:24Z")

</div>

i explained more about what i did here:

> [@How to render bricks page content manually?](https://forum.bricksbuilder.io/t/how-to-render-bricks-page-content-manually/27431/5):
>
> thank you very much for ur code. it really helped. i made some changes. some times the page is made by Gutenberg and some times with bricks. so this code can tell: function dynamic\_page\_content\_shortcode($atts) { ob\_start(); ?\> \<div id="dynamic-content-container"\> \<div class="loading-spinner" style="display: none;"\> \<div class="spinner"\>\</div\> \</div\> \<div id="page-content-area"\> \<p\>choose one item on the list\</p\> \</div\> \</…

if it didn’t work for you, let me know so i can make a tutorial or a plugin for it

---

_[View the full topic](https://forum.bricksbuilder.io/t/styles-not-loading-when-dynamically-loading-content-via-ajax-in-bricks/29907)._
