Site logo

[Resolved] How to REDUCE the padding in an after_entry_title block hook

Home Forums Support [Resolved] How to REDUCE the padding in an after_entry_title block hook

Home Forums Support How to REDUCE the padding in an after_entry_title block hook

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2466336
    Trish

    Hi,

    Am looking to reduce the padding around a block hook that I’ve installed, as shown here: https://www.awesomescreenshot.com/image/35450193?key=4e0ee90777b633818f388846fb507a87 so that ONLY the height of the text is really needed.

    PLUS: I am wanting to change the Posted by and hours, depending on the post. Is this possible or will I need to create a unique block hook for EACH and EVERY post in order to do this?

    Thank you in advance,
    Trish

    #2466425
    Fernando
    Customer Support

    Hi Trish,

    With GP Premium + GenerateBlocks, there’s a way to do this dynamically. Here’s an article on how to do it: https://docs.generatepress.com/article/block-element-post-meta-template/

    To address the padding issue, it’s best to use GenerateBlocks as well. There’s a video in the article shared above showing how it’s used.

    #2466435
    Trish

    Okay, thanks.

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