Archived topic
Background Image in both Body and Container for one page
3 replies · Started by Craig on February 1, 2021
Hi GP Support,
Going round in circles with what I doing wrong. Trying to have the background image across the body AND the container.
body.page-id-12468.one-container .container {
background-image: url('https://www.tradingcardexchange.com/wp-content/uploads/2021/02/TCE_BGJan21_1_opac50.jpg');
}
Only puts the image in the container, and then there are two (background) white columns on either side of the container space. Anyway to 'stretch' the image across both? I am missing something, can't figure it out.
THANKS!!!
Craig
Hi there,
use:
body.page-id-12468 {
background-image: url('your_image_url');
}
body.page-id-12468 .container {
background-color: transparent;
}
UDA man, thanks. It was kind of ocurring to me that maybe the container had to be transparent, but thanks a million for this.
Craig
You're welcome