Tuesday, 26 October 2010

How to remove a border from around a photo

quotes1
How to completely REMOVE the border that appears around a posted photo within a post on Blogger??
quotes2


This is easy to change! You will look for the code that you wish to change, which is .post img code in the CSS style sheet.

This is the code in my template (a modified Blogger Minima template):
.post img {
padding:4px;
border:0px solid $bordercolor;
}
Or it could look something like this:
.post img {
margin: 5px;
padding: 5px;
background: $imagebgColor;
border: 1px solid $imageBorderColor;
}
Change this line to read:
.post img {
padding:4px;
border:none;
}
If you have difficulities in finding the correct code in your CSS template, keep in mind you are looking for .post img.

No more borders around your images!!


post signature

No comments:

Post a Comment