Archived topic
Hook Not Showing Up Correctly
3 replies · Started by Matt Stern on June 1, 2021
Hi Guys,
I'm trying to create a basic hook to show related posts after blog articles. The Element is a hook set to after_main_content. The content itself is just a WP Show Posts shortcode inside a GB container with a colored background.
I have the Editor Width and the Container Width set to 700px, yet for some reason, the content goes full width and the colored background doesn't show.
You can see the live page here: https://sternstaging.com/web-speed-baked-in/
And a screenshot of the what the hook looks like on the backend: https://nimb.ws/Z2ryEW
There is no caching on the site. I've cleared my browser cache and tried in new private windows on different browsers.
Any ideas?
Thanks,
Matt
Hi Matt,
That's quite strange.
I've attempted to replicate the issue and it seems to be working well on my end as shown in this sandbox site - https://dev-generate-press.pantheonsite.io/
Check the bottom orange container containing a WPSP list.
Here's the setting - https://share.getcloudapp.com/Kou4yxWl
That said, let's try a few things:
- try disabling ALL plugins except GP Premium and GenerateBlocks to see if its a plugin conflict?
- try disabling child themes (if any)
- try going to GenerateBlocks settings and try to regenerate CSS file?
- try checking the server as well if it has any server sided cache?
Hi Elvin,
Regenerating CSS did the trick. I'll take it!
Thanks,
Matt
Nice one. Glad you got it sorted. :)