Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#49297 closed defect (bug) (duplicate)

Twenty Twenty theme "Clearing Floats" issue

Reported by: fahimmurshed's profile fahimmurshed Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: close
Focuses: css Cc:


Please check "Clearing Floats" by ThemeUnitTest xml file.

Go to /wp-content/themes/twentytwenty/style.css:2607




margin-top: 10em;


Attachments (2)

1.PNG (103.9 KB) - added by fahimmurshed 4 years ago.
2.PNG (90.7 KB) - added by fahimmurshed 4 years ago.

Download all attachments as: .zip

Change History (13)

4 years ago

4 years ago

#1 @joyously
4 years ago

This was supposedly fixed back in September. See
Perhaps other changes have brought it back? Or the margins are not applied except in .entry-content?

#2 @SergeyBiryukov
4 years ago

  • Component changed from Themes to Bundled Theme
  • Keywords needs-unit-tests removed

#3 @ianbelanger
4 years ago

  • Focuses css added
  • Version changed from 5.3.2 to 5.3

#4 @ianbelanger
4 years ago

  • Keywords needs-patch added; needs-testing removed
  • Milestone changed from Awaiting Review to Future Release

I can confirm the issue does still exist. However, the solution that you suggest @fahimmurshed will only work if the image is a particular size, and if there is no floated image at the end, then the margin is to big. We definitely need to find a fix for this though.

#5 @fahimmurshed
4 years ago

Thanks so much, Ian.

I'll find more issues.

#6 @fahimmurshed
4 years ago


Got a few ERROR on the Theme Sniffer. Can you please check with Theme Sniffer plugin?

#7 @fahimmurshed
4 years ago

I have checked and it's solved on WordPress 5.4 beta

Thanks a lot.

This ticket was mentioned in Slack in #core by murshed. View the logs.

4 years ago

#9 @ianbelanger
4 years ago

  • Keywords close added; needs-patch removed
  • Resolution set to fixed
  • Status changed from new to closed

This appears to have been fixed by #48979.

#10 @SergeyBiryukov
4 years ago

  • Resolution changed from fixed to duplicate

Duplicate of #48979.

#11 @SergeyBiryukov
4 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.