-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post Excerpt Block: Add the ability to style "Read more" independently #33288
Comments
In addition to this, it would be useful to be able to add an arrow (like →) to the link... |
Related - should we not have a separate block for this? |
This came up as part of the tenth call for testing for the FSE Outreach program and the solution explored here I believe will address the root issue of the current experience being unclear that you can customize this part of the Post Excerpt block:
Happy to open a separate issue but, to me, this helps provide more context for why it's important to have the ability to style this aspect separately. |
Would love to have this functionality! Here's a look at how this might work with a new Read More block that acts as a child to the Post Excerpt block. Post Excerpt block — before: Post Excerpt block — after, with new Read More child block: Here's how it would look from the List view. The parent/child relationship could work similarly to the Buttons/Button block where the child never exists independently of the parent: Notes:
Thoughts? |
Today, the read more link generally inherits the style settings of the entire excerpt. Since it's a link, you can adjust the color by using the experimental link color feature, and since it's inline text, you can use options like Bold, Italic, etc.
The alignment cannot be adjusted independently, and neither can the font size.
I expected the read more text to be a standard, separate child block that would have its own set of controls. Adopting this implementation would allow for a wider range of design options. (Maybe even the ability to change the link into a button?)
GIF of current state:
The text was updated successfully, but these errors were encountered: