CMS Development

AllisonAltus
Top Contributor

images within a blog

SOLVE

Hi i have two images side by side in my blog post, with a space in between them. They look good on desktop however when viewed on mobile they stack on top of each other with no space between them and not aligned. Any help on how to fix this?

Thanks

Allison 

0 Upvotes
1 Accepted solution
Jsum
Solution
Key Advisor

images within a blog

SOLVE

@AllisonAltus,

 

I think your best bet would be to give each of them inline styling. If you want them to stay side by side you could do something like this:

<img src="" alt="" style="width: 49%; float: left;">

<img src="" alt="" style="width: 49%; float: right;">

You can find the markup for your post body by clicking the "<>" icon in the rich text module tool bar. 

View solution in original post

0 Upvotes
1 Reply 1
Jsum
Solution
Key Advisor

images within a blog

SOLVE

@AllisonAltus,

 

I think your best bet would be to give each of them inline styling. If you want them to stay side by side you could do something like this:

<img src="" alt="" style="width: 49%; float: left;">

<img src="" alt="" style="width: 49%; float: right;">

You can find the markup for your post body by clicking the "<>" icon in the rich text module tool bar. 

0 Upvotes