ICSC Phase II (Dearborn, MI)

Images not centering properly

Assigned to
Ryan Ross, Developer at Diocesan Ryan R.
Notes
https://icsc.diocesanweb.org/annual-icsc-awards/

The icons (image blocks) are set to be centered, but do not display centered

Comments & Events

Ryan Ross, Developer at Diocesan
Probably going to see this a few more times.  For reasons I can't explain, WP 2019 theme is zeroing out margin on a per-block basis when used in conjuction with align "center".  It does center the image within the figure, but not the figure itself.

@media only screen and (min-width: 768px) {
.entry .entry-content .wp-block-image .aligncenter {
    margin: 0
...

Added a rule to make this margin: 0 auto, which centers the figure (which contains the image)

Ryan Ross, Developer at Diocesan
Ryan Ross completed this to-do.
Veronica Alvarado, Project Manager at Diocesan
I'll keep an eye out for it!
Thanks Ryan