Archived topic
widget area underline
9 replies · Started by francesco on October 3, 2022
this code works if you use with
"Recent Posts Widget With Thumbnails" but I would like to make it work with the classic widget using the latest articles.
Hi there,
You can try this:
.wp-block-latest-posts.wp-block-latest-posts__list li {
padding-bottom: 15px;
border-bottom: 1px solid rgb(240, 240, 240);
}
Hi.. Works great. However on mobile devices it is not displayed.
There seems to be a syntax error in your Additional CSS. For instance, you failed to close this media query with a closing bracket - } - https://share.getcloudapp.com/E0uZgo4B
correct?
Now it's displaying on mobile.
Sorry but I think I have made some trouble with the CSS. in fact the underline in the widget area is no longer visible. I report all the code and I ask you if you can kindly tell me what to correct. thank you
I can't tell if the code needs to be in or out of certain media queries, but the CSS regarding sidebar recent posts area looks correct, and the widget underlines are showing on mobile:
https://www.screencast.com/t/5cAgR2cj
If there's anything wrong, please specify the issue and on what devices.
Let me know!
ok, thnx ying
No problem :)