Can you post a link to page with the related post thumbnail images?
Try it with border: none;
Something like this (depending on your theme):
.related-gallery .gallery-item {
border: none;
}
btw:
consider creating a child theme instead of editing your theme directly – if you upgrade the theme all your modifications will be lost.
Hi, Thanks for getting back to me. Here is a link to one or the pages where it is installed. All the way at the bottom of the page.
http://bearleaderchronicle.com/site/entry_034/
I tried adding the above code to child theme style.css but I did not notice any change.
Thanks!
Try it with this:
.related-gallery .gallery-item img{
border: none !important;
}
I managed to turn of the gallery styling with some code I found
// Remove Gallery Styling
add_filter( 'gallery_style', 'my_gallery_style', 99 );
function my_gallery_style() {
return "
";
}
add_filter( 'use_default_gallery_style', '__return_false' );
and then added the styling back manualy into style.css
.gallery {
margin: auto;
}
.gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-caption {
margin-left: 0;
}
It is almost good but the “related Posts” title is misaligned.
http://bearleaderchronicle.com/site/entry_035/
Any ideas would be appreciated.
Thanks.
Your last suggestion did the trick.
Thanks!
You’re welcome. I’m glad you’ve got it resolved.