Background image doesn't fill

eCommerce WordPress theme with various e-store features and WooCommerce support.
GK User
Tue Feb 18, 2014 6:43 pm
I've noticed that on some pages the background image doesn't fill to the bottom of the page, leaving a gap.

Image

I made sure the bg image was the same size as the originals, should it be bigger? :?
User avatar
Junior Boarder

GK User
Tue Feb 18, 2014 7:30 pm
Hi,
you have two options, use:
Code: Select all
body { background-attachment:fixed; }

or
Code: Select all
body { background-size: cover; }

or
higher image.
User avatar
Platinum Boarder

GK User
Mon Feb 24, 2014 12:48 pm
Pawel F wrote:
Code: Select all
body { background-size: cover; }


Thanks Pawel, went with this in the end :)
User avatar
Junior Boarder


cron