Site logo

[Resolved] Hook Not Showing Up Correctly

Home Forums Support [Resolved] Hook Not Showing Up Correctly

Home Forums Support Hook Not Showing Up Correctly

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1806775
    Matt Stern

    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

    #1806909
    Elvin
    Staff
    Customer Support

    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?

    #1808229
    Matt Stern

    Hi Elvin,

    Regenerating CSS did the trick. I’ll take it!

    Thanks,

    Matt

    #1808249
    Elvin
    Staff
    Customer Support

    Nice one. Glad you got it sorted. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.