[Support request] Hook output to allow rendering of custom code with full-width before comments

Home Forums Support [Support request] Hook output to allow rendering of custom code with full-width before comments

Home Forums Support Hook output to allow rendering of custom code with full-width before comments

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #963535
    jasmeet

    Hello

    As per captioned topic title, Kindly suggest if it is possible to add custom code with full-width which can be rendered before comment area as selecting “before_comments” doesn’t allow it to go full width and it remains wrapped within post parent div

    Taking it “above_footer” provides in a partial solution by making it full-width however, the same goes below comment section which isnt great from UX prospective

    Or, If we could have the possibility to have Custom Single Post Template which can be uploaded to child theme in order to have comment area and above, not wrapped within parent post div like seen in blog posts below in specific sites, enabling to have their specific parent div which can be wrapped later with custom CSS-

    https://www.copyblogger.com/better-list-posts/ (Please view post-navigation)
    https://managewp.com/blog/local-sync-localhost-wordpress (sections below author box)

    Any help would be greatly appreciated here

    #963698
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You can use a solution like this to force something full width, even if it’s in a container: https://generatepress.com/forums/topic/related-posts-4/

    Let me know if you need more info 🙂

    #972720
    jasmeet

    Hi Tom

    thank you for providing workaround however the same doesn’t render output 100% as envisaged. Secondly, It might have cross-browser compatibility issues

    Can you kindly suggest a more concrete solution or maybe, we can have this option of adding hook in future GP version where the layout scales to full-width above comment-area

    #973121
    David
    Staff
    Customer Support

    Hi there,

    aside of creating a custom template for your single posts, the only other alternative is to set the post to Full Width and then use CSS to limit the width of all the other elements.

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