image out of box
fanux opened this issue · comments
Add a width in the theme's sass.
Here's a simple fix:
- Add a width variable
- Use the width variable in global setting width to img
This will all be done within the themes
folder in your project root.
In the _variables.scss add the following somewhere:
// Images
$img-width: 100%;
In the _global.scss add the following somewhere:
img {
width: $img-width;
}
Hope this helps. Though, keep in mind, it will apply to all img across the entire site. So you might wish to be more specific on what this width is being applied to.