i am trying to have a yellow background of a title above an image. The text is fine but not the yellow color. It appears well if i put some margin on the image
Thanks all
https://codepen.io/pg2777/pen/oNNErMw
<article id="post-106" class="post-106 post type-post status-publish
format-standard has-post-thumbnail hentry category-news">
<img width="810" height="520"
src="https://cdn.pixabay.com/photo/2019/07/21/07/12/new-york-
4352072_960_720.jpg" class="attachment-post-thumbnail size-post-thumbnail
wp-post-image" alt="" <header class="entry-header
article_news_header">
<h1 class="entry-title">This is a header and
it’s here to do the show </h1>
</header>
<div class="entry-content">
<p>And this is the subheader excerpt. And this is the
subheader excerpt. And this is the subheader excerpt. And this is the
subheader excerpt.</p>
</div>
</article>
.article_news_header{
background-color:#ffe400;
margin-top:-50px;
z-index:9;
width:30%;
}
.category-news img{
border:11px solid purple;
z-index:3;
margin-left:40px;
}
.entry-title {
font-size: 28px;
margin-top:-30px;
background-color:yellow;
margin-bottom:80px;
width:20%;
color:red;
z-index:6;
height:100px;
}