Background image aligns to bottom of screen instead of page
-
This is a very bizarre problem I’m having: I’m trying to align a background image to the bottom of my website, but it only goes to the bottom of the screen instead of to the bottom of the site. Here’s the code I’m using, seems pretty standard (a lot of the non-background code came with the theme I’m using:
body {
padding: 0 1.618em;
font: 300 13px/20px “Helvetica Neue”, Helvetica, Arial, Sans-serif;
color: #555;
background-color: #fff;
-webkit-font-smoothing: antialiased;
background-image:url(‘https://www.axtran.com/wp-content/uploads/2013/03/ocean-waves5.png’);
background-repeat:no-repeat;
background-attachment:fixed;
background-position: left bottom!important;
}Sample page: https://www.axtran.com/contact/
It’s a problem in Chrome, Safari and Firefox. I’ve searched far and wide but can’t find any mention of this elsewhere. Help is greatly appreciated!
- The topic ‘Background image aligns to bottom of screen instead of page’ is closed to new replies.