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

CSS: header background image on a POST

Home / Forums / Virtue Theme / CSS: header background image on a POST

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
September 11, 2019 at 11:44 am

I’m trying to put a background image on a POST, similar to what I have below on a PAGE:

/* Header Background on specific page, only */
.page-id-491 .page-header {
background: url(/wp-content/uploads/2019/07/downtown-wide-low-level-page.jpg);
width: 100%;
top: 0;
left: 0;
position:absolute;
padding-top: 0px;
padding-bottom: 85px;
}

I’m not sure exactly what I need, I’ve tried several variations, including substituting .postid-9144 for .page-id-491.

Thank you,

Jon

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