Archived topic
GenerateBlocks CSS not loading on Archive Pages
6 replies · Started by Chad on July 2, 2021
The CSS is not loading on Archive pages when using Generate Blocks. Is there a way to get this working?
I tried adding <link rel='stylesheet' id='generateblocks-css' href='https://www.ondemandly.com/wp-content/uploads/generateblocks/style-5523.css?ver=1625241593' media='all' /> to the wp head of archives and some css loaded but not everything.
Hi Chad,
Any chance you can link us to the archive page in question?
You can use the private information field.
Let me know :)
Here is the URL
How are you adding GB's content on archive pages?
Are you using a block hook element?
Please also clear and disable all of your caching plugins and server caching to test.
I'm using a post block from PostX plugin. I've tried disabling and clearing all cache plugins but still no styling. I don't have this issue on any other pages but for some reason the CSS doesn't load on this page.
I'm not familiar with PostX plugin.
How are you adding content to the archive page? Are you using the normal page editor?
If so that's not going to work unfortunately. See my reply here:
https://wordpress.org/support/topic/generateblocks-and-woocommerce-shop-page/#post-14594264
Can you try using a block element instead?
https://docs.generatepress.com/article/block-element-overview/