My images are not aligned after activating WebP

Layout issues can sometimes be caused by Imagify’s “Use <picture> tags” option for displaying WebP images. This option swaps out your page’s <img> tags for <picture> tags in order to provide fallback support for users of Apple Safari browsers (they don’t fully support WebP images yet).

If you find your images are out of alignment after being optimized, you can try adding the following CSS code to your Custom CSS field in Appearance > Customize page in your WP Admin or in your theme’s style.css:

.aligncenter {
  text-align: center;
}

However, each situation is unique, and if the above code does not work for you, then it’s possible a more customized solution may be needed.