Archived topic
Transparent background for Table of Contents, and Border radius to image in post
2 replies · Started by Nguyen on January 2, 2023
Hi, I have 2 questions.
1. I want transparent background color for my ToC. I used this css:
.lwptoc_i {
background-color: transparent;
}
But it didnt work
2. I want to apply border radius to only article images (which appears in post, feature img, and feature img in the archive pages). Not all the images on my site. So I used this CSS:
.dynamic-entry-content, .inside-article img {
border-radius: 10px;
margin-bottom: 24px;
margin-top: 24px;
text-align: left;
}
But it only works on the feature image, not the images in my post.
Can you help me out?
My site to the above problems: https://nguyendangblog.com/hieu-ung-ran-ho-mang-cobra-effect/
Hi there,
1. I want transparent background color for my ToC. I used this css:
.lwptoc_i {
background-color: transparent;
}But it didnt work
The TOC is coming from this plugin so can you check with the plugin's support team first?
https://wordpress.org/plugins/luckywp-table-of-contents/
2. I want to apply border radius to only article images (which appears in post, feature img, and feature img in the archive pages). Not all the images on my site. So I used this CSS:
.dynamic-entry-content, .inside-article img {
border-radius: 10px;
margin-bottom: 24px;
margin-top: 24px;
text-align: left;
}But it only works on the feature image, not the images in my post.
Have you resolved this issue? The image at the bottom of the example post already has border radius from GB's image block.
Hi Leo, thanks for the reply.
Yea I should check with the ToC provider indeed.
The second problem is solved. Thanks
