Site logo

[Support request] Code makes my blog post not align

Home Forums Support [Support request] Code makes my blog post not align

Home Forums Support Code makes my blog post not align

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #2410894
    Fernando
    Customer Support

    You don’t have to add it manually. You can add it globally through a Block Element – Hook. Add the code through an HTML Block as well. Reference: https://docs.generatepress.com/article/block-element-hook/

    #2410921
    Terrell Jerry

    I tried that but how do I have it show after the post if it’s a custom hook?

    #2410923
    Fernando
    Customer Support

    You can use a Block Element – Hook. Hook it after_entry_content. Set the priority to 1. Example: https://share.getcloudapp.com/5zuP4gwJ

    This should place the Element after the content. Set it to display in Post – All Posts or whichever you prefer.

    If you want it placed elsewhere, let us know.

    #2410925
    Terrell Jerry

    I tried the block element but it causes it to mess up the pages wired but when I manually add it doesn’t do that.

    #2410929
    Fernando
    Customer Support

    I tested this, and it’s working as expected on my Test site. How is it breaking on yours? Can you provide a link to a specific post where you’ve added this? We’ll need to see it live to assess the issue.

    #2410948
    Terrell Jerry

    Its after_content priority 10

    #2411106
    David
    Staff
    Customer Support

    Hi there,

    is it possible we can see the ‘messed up’ layout when using the element ?

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.