[Resolved] Post Excerpt

Home Forums Support [Resolved] Post Excerpt

Home Forums Support Post Excerpt

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #984177
    mohamedhassan

    Hi GP team,

    When I write a post excerpt to show on my home page blog, It doesn’t end by read more.

    Also, how do I use writing features like bold, adding links, and bullet points and so on?

    Regards,
    Mohamed

    #984278
    David
    Staff
    Customer Support

    Hi there,

    you can use the PHP snippets provided here to add the Read More to a manual excerpt:

    https://docs.generatepress.com/article/activating-read-custom-excerpt/

    The Manual Excerpt metabox does accept HTML.
    Best thing to do is to write your excerpt in the main content, switch to the Text view ( not visual ) and copy out the HTML and paste that into your excerpt.

    #984615
    mohamedhassan

    Then, how to make the color of read more button changeable upon clicking?

    And how do we make the width of the button to be in full width?

    #984671
    David
    Staff
    Customer Support

    Making the button full width will force the button below the content, you can try this CSS to see the effect:

    .read-more-button-container a {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    The readmore button colors match those you set in Customizer > Colors > Buttons.

    #984905
    mohamedhassan

    Thank you!

    #985142
    David
    Staff
    Customer Support

    Glad to be of help

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