
Go to blogger dashboard >Template > Edit HTML
Press CTRL + F to enable search box and search for ]]></skin> tag.
After finding the skin tag, just above it paste the following code:
.post img {
border:5px solid #d2d2d2;
padding:2px;
}
- You can change color of the border by changing #d2d2d2 with any other alter hex color.
- If you want to increase the blank space of your border just increase higher number with 2px in above code.
You can also use different types of borders in your images, following are some border types that you can use in above code.
- solid: Defines a solid border
- dotted: Defines a dotted border
- dashed: Defines a dashed border
- double: Defines two borders. The width of the two borders are the same as the border-width value
- groove: Defines a 3D grooved border. The effect depends on the border-color value
- ridge: Defines a 3D ridged border. The effect depends on the border-color value
- inset: Defines a 3D inset border. The effect depends on the border-color value
- outset: Defines a 3D outset border. The effect depends on the border-color value
Once you are done with the customization, Click Save Template and you're done!