C
C
chelsea012018-02-22 21:29:26
Images
chelsea01, 2018-02-22 21:29:26

How to hide the first image in a WP post?

In a wordpress post, I need to hide the first image after the thumbnail. They all have the same class except for the miniature.

<div class="entry-content ">
<img class="hide_img" src="1.jpg"/>
<img class="hide_img" src="2.jpg"/>
<img class="hide_img" src="3.jpg"/>
</div>

You need to hide only the first image in all posts.
tried like this:
.entry-content  .first_img_hide:first-child{
display:none!important;
}

but style removes all images. How to be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question