• Great plugin, thanks for developing!

    In Gutenberg, when I paste the shortcode (for example: mpress_image_refresh attachment=”1261, 1090, 1018″ size=”full”) the image is not responsive. It displays the full width regardless of the screen size.

    Currently, the string of text is formatted as “text block” but I have tried the “classic” and “code” block as well. What is the correct way of inserting the shortcode to make the image responsive?

Viewing 1 replies (of 1 total)
  • Plugin Author Micah Wood

    (@wpscholar)

    The responsive nature of the image is going to be dependent on the responsive nature of your WordPress theme.

    You should be able to fix the issue by doing the following:

    First, from the WordPress admin area, click on the “Appearance” menu item in the left sidebar and then select “Customize”.

    Next, find and click on the “Additional CSS” section in the customizer.

    Finally, add this code into the box after anything else that may already be there:

    
    img {
        max-width: 100%;
    }
    

    Be sure to click the “Publish” button to save your changes.

    If this doesn’t work, providing a link to the page where you are having the issue would help me help you.

    • This reply was modified 2 years, 6 months ago by Micah Wood.
Viewing 1 replies (of 1 total)
  • The topic ‘Responsive container?’ is closed to new replies.