Images in comments not scaling down

[ad_1]

Hi @immaterial, how do you allow users to add images in comments? Also, can you share the URL of the page that you need help with?

Thanks for letting me know how you add an image in the other thread.

To prevent overflow, you can add the following CSS for the comment content block in the site editor.

.wp-block-comment-content img {max-width:100%}

You can access the site editor by going to Appearance > Editor, and follow the steps you can see in this screenshot.

Let me know how it goes!

Great, it worked! Thanks a lot!

Glad that did the trick. I’ll mark this thread as resolved – feel free to do that yourself in the future by changing the “Status” in the right-hand column. 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer