Edit featured image display
-
Hello,
Here is my website : http://deslivresetdesetoiles.com/.
My featured images in post are all big (height) because they are book cover. I would like to make it disappear from the post, but to still be shown in the preview (on the articles page). Is it possible ? I’ve been trying to do this for a while but I can’t figure it out.
I tried those modifications but none of them had the effect I wanted :
.featured-media a {
display: none;
}
.featured-media img {
display: inline-block;
}
.featured-media iframe {
display: inline-block;
}==> Image still in the post but not in the preview anymore (which is the opposite of what I want).
.featured-media a {
display: inline-block;
}
.featured-media img {
display: none;
}
.featured-media iframe {
display: inline-block;
}==> no image in post and no image in preview.
I also tried this one, but it didn’t seem to have any effect :
.featured-media a {
display: inline-block;
}
.featured-media img {
display: inline-block;
}
.featured-media iframe {
display: none;
}Can anyone help me please ?
The topic ‘Edit featured image display’ is closed to new replies.
