Tagged: Background, CSS, image
- This topic has 3 replies, 2 voices, and was last updated 3 years, 10 months ago by
Theme Horse Support Team.
-
AuthorPosts
-
October 5, 2020 at 7:47 pm #81794
rebelsnotes
ParticipantHi there,
I have been using Newscard for some time now and love the functionality of the theme. Thank you for that.
However, I wonder if you can help me with something small. Today I added css to have rounded corners on all images, including those on the front page widgets. I had my background color set to light grey so the elements on the front page pop, but now with the rounded corners on the images, it shows a tiny white triangle of the white behind the image.
Can you help me with a css code to change that?
Thanks a lot and kind regards,
MarieOctober 7, 2020 at 6:09 am #81861Theme Horse Support Team
KeymasterHi rebelsnotes,
Please remove the code you have added for rounder corner and copy the below Custom CSS code and paste it to ‘Additional CSS’ field.
.post-block, .post-boxed, .post-boxed.inlined .post-img-wrap, .post, .hentry, .type-attachment, .navigation.post-navigation .nav-links, .comments-area, .site-content .widget, .site-footer .widget { border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; overflow: hidden; }
If you want to increase the rounded corner then you can simply do by replacing the digit ‘8’ with your desired one.
Thanks
October 7, 2020 at 10:34 am #81874rebelsnotes
ParticipantOh thank you so much for this, it worked perfectly, and looks even better than I could’ve imagined!
Kind regards,
MarieOctober 10, 2020 at 7:42 am #81937Theme Horse Support Team
KeymasterWelcome rebelsnotes,
Please let us not if you have any queries regarding the Theme.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.