This tutorial works on any blogger theme.
Using side to side images on your posts can give a nice design for your blog. Take a look at a post of Anna, from The Anna Edit: My Thoughts on Being a Blogger & Consumerism.
Follow the steps below to add images side to side on your posts.
Adding the CSS Code
- Go to Theme on the Blogger dashboard vertical menu.
- Click on the Customize button
- Click on Advanced link on the left menu
- Scroll the list of theme sections until the end and locate Add CSS
- Copy the code below and paste it on the Add custom CSS box
- Click on Apply to Blog button.
.ld-gallery {
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: -webkit-box;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.ld-ii a,
.ld-ii .separator,
.ld-ii .tr-caption-container {
width: 48%;
}
.ld-iii a,
.ld-iii .separator,
.ld-iii .tr-caption-container {
width: 30%;
}
.ld-ii a,
.ld-ii a:focus,
.ld-ii a:hover,
.ld-iii a,
.ld-iii a:focus,
.ld-iii a:hover {
border: none;
}
/* for mobile. it will make that all images appear one below the other. */
@media screen and (max-width: 50em) {
.ld-gallery .tr-caption-container,
.ld-gallery .separator,
.ld-gallery a {
width: 100%;
}
}
Using 2 images side to side
- Upload the two images on your post.
- Set them as Original Size for a better design.
- Switch to HTML tab.
- Copy <div class="ld-gallery ld-ii"> and paste on top of the two images code. See the screenshot.
- Copy </div> and paste at the end of the two images code. See the screenshot.
Using 3 images side to side
- Upload the two images on your post.
- Set them as Original size for a better design.
- Switch to HTML tab.
- Copy <div class="ld-gallery ld-iii"> and paste on top of the two images code. See the screenshot.
- Copy </div> and paste at the end of the two images code. See the screenshot.
And it's done (:






