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
Rendered screenshots overflow the default WordPress theme width. After some experimentation, and having reviewed the latest WordPress Codex docs, I suggest the following changes to the markup that the plugin outputs:
Change the wrapping div to a figure element
Hard-code that figure element with the wp-block-image class
Update the plugin settings page text accordingly
This should allow outputted images to be as compatible as possible with modern WordPress coding standards and the majority of themes, while still allowing users to override the outer and inner elements if necessary.
The text was updated successfully, but these errors were encountered:
Rendered screenshots overflow the default WordPress theme width. After some experimentation, and having reviewed the latest WordPress Codex docs, I suggest the following changes to the markup that the plugin outputs:
div
to afigure
elementfigure
element with thewp-block-image
classThis should allow outputted images to be as compatible as possible with modern WordPress coding standards and the majority of themes, while still allowing users to override the outer and inner elements if necessary.
The text was updated successfully, but these errors were encountered: