Closed Gustavo-Hilario closed 2 years ago
Thanks for filing this, @Gustavo-Hilario!
It looks like the issue is that the Homepage Post block button has the class wp-block-button__link
in the editor, but not on the front-end -- updating the front-end markup to match should fix this issue.
(As an aside, it's kind of weird to me that Russell doesn't include any styles for a normal <button>
HTML element -- or at least that they don't match the button block!).
:tada: This issue has been resolved in version 1.57.0-alpha.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.57.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Quick summary
When adding the
Blog Posts block
and enabling theRead More
link, you will see the button design correctly on the editor, but once the page is published or if we can the preview, we will see that the customization isn't being applied.Steps to reproduce
Blog Posts
block there.Show "Load more posts" Button
option and add a text to the button.https://user-images.githubusercontent.com/50875131/154827913-0e00239b-79fc-4326-ad48-61fe0315697e.mov
What you expected to happen
I expected to preview the page and see that the button has the same look it has on the editor.
What actually happened
The Read More button doesn't have any customization. From the inspector on the editor, I can see this button uses several CSS variables. I'm not sure why that isn't working, though.
Context
User report here: 4794504-zen. They use the
Russell
theme, but I could reproduce it with several themes. So it doesn't seem to be a theme-specific issue.Simple, Atomic or both?
Simple, Atomic
Theme-specific issue?
No response
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
Most (> 50%)
Available workarounds?
Yes, difficult to implement
Workaround details
This is not ideal, but we can try to use CSS code to give this button a similar design that shows on the editor. Please, test the code before sharing it with any user. You will want to replace XX with the correct page id.