Sometimes background image does not display, here are some possible reasons:
- “background-image” property is buggy, use “background”
- Double quote for image path
- “background-attachment: fixed” could cause unknown problem.
1 2 3 4 5 6 7 8 |
.column{ background-position: center center; background-size: cover !important; background-repeat: no-repeat; } .column.about{ background: url("../images/index/iphone_index_1.jpg"); } |