I re-test the CSS code with Simple CSS plugin again.
Below CSS(DIV+CSS) works in Simple CSS along with a post(Works in Both normal post and CPT UI post) :
.test {
border: 1px solid #000;
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
I want all the images in a post(CPT UI) have box-shadow with below code. The code just doesn’t work.
It’s strange that it do work if I apply above CSS code to a normal post.
.single-post .entry-content img {
border: 1px solid #000;
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
But it just doesn’t work.