I’m trying to switch over my theme to newspaper9,
noticing featured image thumbnail isn’t showing up on my homepage on desktop.
it shows just fine on mobile or if i make the browser window smaller.
https://perfectbodymate.com/
how do i fix this?
Hi,
I’ve just inspect your web page and I seen yo add some custom css that couse the problem ( https://www.screencast.com/t/bbHEUcicMP6w ), just remove the custom css that you set with width and height 1px and your image will show up.
Thank you for your understanding
I don’t remember adding any custom css code. where could I possibly find this code?
Hi,
First please try this: Thumbnails – Fix strange looking images on blocks
Let me know how it work.
Have you set some custom code insert in Newspaper> Theme panel> Custom code ( https://www.screencast.com/t/qiEjKDbun7nL ).
If not pleas add this css in Custom css:
img{
width: 100%!important;
height: 100%!important;
object-fit: cover;
}
https://www.screencast.com/t/n7S0V7zMMvr1
Hope this will solve the problem.
Thanks.
that did the trick, but was affecting my logo. so i added this code
.td-image-wrap img{
width: 100%!important;
height: 100%!important;
object-fit: cover;
}
Is is still possible to find the original cause of this incident?
Hi,
The problem is that you have an inline css on the image, the cause may be some custom code or a certain modification of the theme file.
https://www.screencast.com/t/qczolOSd
Thanks.