Background image full screen using CSS
-
Hello,
I’m using the WordPress Leatherman theme (self hosted) and have added a Background image using the customize feature. I want this image to fill the screen, but this is not working (due to its container perhaps?).
I’ve used the following code, and while this displays most of the image, it depends on the width of the screen. I’ve tried using background:cover but this doesn’t show as much of the image as when I use a fixed padding amount.
Any ideas of the correct way I should do this?
#masthead-stringr { padding-bottom:650px; background-position: center top!important; }Thanks in advance for any help,
Graeme
- This topic was modified 6 years, 5 months ago by .
- This topic was modified 6 years, 5 months ago by . Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Background image full screen using CSS’ is closed to new replies.