Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

How to add fullwidth header image on Blog page

Home / Forums / Virtue Theme / How to add fullwidth header image on Blog page

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
October 17, 2017 at 4:59 pm

I have added a header image to the blog page using the following Custom CSS:

.blog .page-header {
background-image: url( ‘/wp-content/uploads/2016/05/banner-news.jpg’);
display: block;
height: 450px;
width: 100%;
margin-top: -15px;
background-position: 50% 25%;
background-size: cover;
text-indent: 2000px;
}


@media
(max-width: 768px) {
.blog .page-header {
height: 100px;
background-size: cover;
}
}

Here is how the blog page displays the header:

I need to match the fullwidth headers as shown on the other pages in this site. Here is a sample page:

Could you please provide the code to achieve this?

Thanks!

  • The forum ‘Virtue Theme’ is closed to new topics and replies.