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

Background Image by Page ID

Home / Forums / Virtue Theme / Background Image by Page ID

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
June 26, 2016 at 5:21 am

Hi Ben/Hannah

I’m trying to set different background images on different pages on the site I’m building (edwardfrenchdevelopments.co.uk). I set the main image under the body section of the Advanced Styling tab in the theme options and then having looked through other forum posts found the code for page-id background:

.page-id-8 .contentclass {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-image:
}

I need to change it in the body not content and have tried switching ‘.contentclass’ to ‘.body’ and ‘.bodyclass’ but can’t seem to get it to work. any ideas?

Thanks
Billy

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