[wp-trac] [WordPress Trac] #56038: Twenty Twenty-One: Aligned images cannot be resized or are properly displayed
WordPress Trac
noreply at wordpress.org
Thu Oct 6 12:52:52 UTC 2022
#56038: Twenty Twenty-One: Aligned images cannot be resized or are properly
displayed
---------------------------+------------------------------
Reporter: mrfoxtalbot | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: css
---------------------------+------------------------------
Comment (by sagarladani):
Hello @mrfoxtalbot,
According to the standard, we cannot change the size in this way. In case
you have changed the size, you can do it manually by selecting the height
and width options on the right side.
You can also add a class and use this class to add style to your images.
For example add your class in image and you have add your class name is
"abcd". Please find below CSS and apply to your project.
{{{
.entry-content > .wp-block-image.abcd figure {
max-width: inherit;
}
}}}
Hoping that your issue has been resolved, try this one if you still have
questions, let me know.
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56038#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list