You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When content created using the classic editor is converted to the block editor (Gutenberg), the image will not be responsive. Gutenberg wraps the image using a <p> tag, which causes the issue.
To Reproduce
Steps to reproduce the behavior:
Create a new post using the classic editor.
Convert the post into Block editor.
Check the post image from frontend.
See the non-responsive image issue.
Expected behavior
The image should be responsive for all devices.
Screenshots
Quick Fix:
Adding the following CSS will resolve the issue.
.entry-content img {
max-width: 100%;
}
Final Output:
The text was updated successfully, but these errors were encountered:
Describe the bug
When content created using the classic editor is converted to the block editor (Gutenberg), the image will not be responsive. Gutenberg wraps the image using a
<p>
tag, which causes the issue.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The image should be responsive for all devices.
Screenshots
Quick Fix:
Adding the following CSS will resolve the issue.
Final Output:
The text was updated successfully, but these errors were encountered: