Changing the size of pictures

I’ve tried changing the width and height of pictures in my deck to standardise them. Every time I do this the pictures get pushed to the left.

Please help.

I’ve found one solution is to use the code below in the styling.

img {
width: auto;
height: auto;
max-width: 400px;
max-height: 400px;
}

However, this wasn’t a solution for individual pictures. Sometimes cards will have more than one image and they need to be sized differently. When I add size to an image it moves to the left of the screen.

<
div style=‘font-family: Song; font-size: 20px; color: grey; width: 100px;’>{{W picture}}/div>

To fix this I used the “center” tag.

<
center>

{{W picture}}/div>/center>

For future reference, you can put text between backticks to get it to display correctly, eg

`<foo>`

will give you <foo>

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.