Reply To: Blue line under all uploaded images

Home Forums WordPress Themes – Premium Preference Blue line under all uploaded images Reply To: Blue line under all uploaded images

#19944
Sushil Adhikari
Moderator

To remove the borders altogether, you can do:

img {border: none;}

To target specific images, this gets a bit more tricky, but you can do that with a few ways. If it’s an image you are manually adding to a widget, post, or page, you can do an inline style on the tag like:

<img class="alignleft" style="border:none;"

….etc. Make sure “style” is after the “class”.

However, to show you where the border is being applied to, you can also choose which one to do the border:none with:

.entry-thumbnail img,
.img-intro img,
.img-intro-left img,
.img-intro-right img,
.img-intro-none img,
.imageborder,
.contact-image img,
.entry-attachment img,
img.alignnone,
img.alignright,
img.alignleft,
img.aligncenter,
div.wp-caption img {
	border-bottom:8px solid #78a5b6;
}