Make WordPress Core

Opened 10 months ago

Last modified 3 weeks ago

#59706 new defect (bug)

Twenty Twenty: Latest Posts block colors and padding

Reported by: viralsampat's profile viralsampat Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.3.2
Component: Bundled Theme Keywords: needs-patch dev-feedback changes-requested
Focuses: css Cc:

Description

Hello Team,

I have worked on the "Twenty Twenty" theme and found that the "Twenty Twenty" theme contains an issue for the "Latest Post" block. The text color does not change when we try to select text color from block settings.

Also, When we select the background color, the padding is added in admin, But in the front end, the post text displays a sticky, The padding is not added for the front end.

Here, I have provided the issue video:

Issue: https://share.cleanshot.com/5mkR0sVQ25VYM6xp434Y

Thanks,

Attachments (5)

59706.patch (827 bytes) - added by viralsampat 9 months ago.
I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.
59706.2.patch (1.2 KB) - added by viralsampat 9 months ago.
I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.
latest_post_text_color_issue_backend.png (316.2 KB) - added by viralsampat 9 months ago.
latest_post_text_color_issue_frontend.png (269.9 KB) - added by viralsampat 9 months ago.
2020-latest-posts-colors-6.4.png (64.2 KB) - added by sabernhardt 9 months ago.
Latest Posts block in WordPress 6.4-RC1, with Accent text color (custom green) and Subtle Background background color

Download all attachments as: .zip

Change History (8)

@viralsampat
9 months ago

I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.

@viralsampat
9 months ago

I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.

@sabernhardt
9 months ago

Latest Posts block in WordPress 6.4-RC1, with Accent text color (custom green) and Subtle Background background color

#1 @sabernhardt
9 months ago

  • Component changed from General to Bundled Theme
  • Focuses css added
  • Summary changed from Twenty Twenty theme has issue for Latest Posts block. to Twenty Twenty: Latest Posts block colors and padding

WordPress 6.4 adds the chosen text color to the link (only), but the rest of the text remains the theme's color selections. When adding support for color controls, the theme's colors still need to apply for users do not select a color. (Replacing a specific color with inherit would change how existing blocks appear.)

The block-library styles define a padding for blocks with a background color and the left padding of zero, so that would not be exclusive to Twenty Twenty.

#2 @sabernhardt
4 weeks ago

#61524 was marked as a duplicate.

#3 @karmatosed
3 weeks ago

  • Keywords changes-requested added
Note: See TracTickets for help on using tickets.