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

This topic is: not resolved
In Progress
Posted in: Virtue Theme  
  • September 11, 2019 at 11:44 am #237380

    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

    Sorry, this forum is for Premium customers only. Please Login to continue

    If you are using a free theme you can access support on wordpress.org by searching for the free theme and using the support tab.