Hi,
Thumbnails in the Latest News widget are strangely absent on the blog sidebar but not the pages one – please help!
Hey Simon,
This CSS is causing that:
.single-post img {
padding-top: 15px !important;
padding-bottom: 15px !important;
}
If you remove the top and bottom padding the images will show again. I’m not sure where it’s coming from though, maybe you do?
Best regards,
Rikard
Hi Rikard,
That’s my CSS – I wrote it to give the images in the blog layout padding, and entered it in the WordPress default theme customiser. I didn’t realise this would affect the widget images too. Can you please give me the necessary CSS to limit it to the blog container?
Thanks!
Simon
.single-post img{
padding-top:15px !important;
padding-bottom:15px !important;
padding-right:0px !important;
padding-left:0px !important;
display:block;
margin-left:auto;
margin-right:auto;
}
Hi,
Please try changing to this:
.single-post article.post-entry .entry-content img{
padding-top:15px !important;
padding-bottom:15px !important;
padding-right:0px !important;
padding-left:0px !important;
display:block;
margin-left:auto;
margin-right:auto;
}
Best regards,
Mike
Hi Mike,
Superb – that worked perfectly. Thanks so much,
best
Simon
Hi,
Glad to hear, unless there is anything else we can help with on this issue, shall we close this then?
Best regards,
Mike
Hi Mike, yes – all fine. Thanks, and please close the issue ;-)
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)
Best regards,
Mike