Thread Starter
Joe
(@joaocarapinha)
Hi,
Any news how I can go about this?
Many thanks,
Joe
Hey there Joe,
You’re right, this would most likely be possible to do with adding some custom CSS.
Could you please provide link to your site where you want this to be done.
Best regards,
Bojan
Thread Starter
Joe
(@joaocarapinha)
Hi Bojan,
Thanks! For example, this post:
http://www.bluecrowtrading.com/spoofing-will-cme-and-cftc-actions-lead-to-its-extinction/
has a distorted featured image at the top and I would like the ability to somehow hide or un-hide the featured image if it appears distorted. Ideally it would be great to have a checkbox available in a post to do this but i guess custom css would be the next option, right?
Many thanks,
Joe
Hey Joe,
The easiest way to fix this, if your theme doesn’t already have custom CSS tab, would be to add it in your site using the following plugin
http://ww.wp.xz.cn/plugins/simple-custom-css
Once the plugin is installed and activated you can add this code to Appearance >> Custom CSS:
.single-post .entry-thumbnail {
display: none;
}
This will remove all the featured images from single post pages.
On the other hand the reason your images are being distorted is because in they have max-height of 350px set in CSS which prevents the image of being displayed correctly. The solution would be to either use images that are not having height more then 350px or adding this custom CSS which will allow them to be displayed in full height:
.entry-thumbnail img {
max-height: 350px;
}
Hope this helps.
Best regards,
Bojan
Thread Starter
Joe
(@joaocarapinha)
Hi Bojan,
Thanks so much for the huge help! It worked!
I appreciate your support.
All the best,
Joe