Last update: May 29, 2024

Oxygen bug fix: Images in content are not responsive

In the official Oxygen group, you can often see a similar question: "Why are images posted in content not responsive when viewed on a mobile device?". In this case, the image may either not fit into the width of the page, causing a gap on the right, or flatten in width (depending on how the image was added, whether you are using Gutenberg or not).

It is very easy to fix this massively for all site images. Add this universal CSS code to your site's Stylesheet:

.oxy-stock-content-styles img, .ct-inner-content img {
  max-width: 100%;
  height: auto;