-
Notifications
You must be signed in to change notification settings - Fork 355
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
Twenty Sixteen: Some center-aligned images are not centered on live site #7336
Comments
Support References This comment is automatically generated. Please do not edit it.
|
6765538-zd
|
Another report here: 6761812-ZD |
6798174-ZD |
New case here: 6752201-zen |
7070495-zen |
7082359-ZD |
@AlexanderSky Since the theme indicates that overhang is for full-sized images wider than 840px, that implies that smaller-than-840px which are not full-width should not overhang - they should be contained within the same content margins as the rest of the content. So in this issue, smaller-width images that are not full-width and are center-aligned are overhanging - which I believe is the unexpected behavior. |
also reported here 7186086-zen |
Another report in 7268524-zd-a8c. Gave some alternate CSS as a fix (as the CSS above seems to just be left-aligning within the content area now).
|
Another report: 7539540-zen |
This is an issue with the theme itself. A related issue can be found here: #7962 I raised it to WP core in: https://core.trac.wordpress.org/ticket/61723#comment:8 |
Quick summary
Some images on Twenty Sixteen have a
below-post-meta
class on either thefigure
orimg
element. For some reason, there's a style applying-40%
left margin to those, preventing them from ever being centered.Steps to reproduce
What you expected to happen
Images set to
align center
should be centered.What actually happened
Some images are not centered:
Browser
No response
Context
6742797-zd-a8c
Platform (Simple, Atomic, or both?)
Simple
Other notes
Only replicated on Simple so far. Tried a few other themes and couldn't replicate there. User reports this started only a few days ago.
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
Yes, easy to implement
Workaround details
CSS fix:
The text was updated successfully, but these errors were encountered: