[Resolved] Related Post Support

Home Forums Support [Resolved] Related Post Support

Home Forums Support Related Post Support

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1570667
    Praveen

    Hi guys,

    I have used the tips given here for related posts. But I need some help in 2 aspects –

    1) My words Related Post is not center aligned
    2) Also the grey box is also limited (i guess by the container of the post) – is there a way to make it end to end?

    #1570668
    Praveen
    #1570788
    Leo
    Staff
    Customer Support

    Hi there,

    1. Try this CSS:

    .single-post .wpsp-related-posts h3 {
        text-align: center;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    2. Are you currently adding it using a hook element? If so try the generate_before_footer hook instead.

    #1571019
    Praveen

    Thanks, I am indeed using “generate_before_footer” hook. But as you can see, the great box is limited to the container set for the post.

    #1571055
    Leo
    Staff
    Customer Support

    I just had another look and unfortunately there isn’t a good way to make just that section full width is you need to position it above comment.

    To achieve that, you’d basically need to set the content container width to full, then rebuild the section above using the Container blocks from GenerateBlocks to make the content above contained.

    #1571074
    Praveen

    ah, that will be too much of trouble! Thanks anyways

    #1571929
    Leo
    Staff
    Customer Support

    No problem 🙂

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