Topic: Full background image not showing up on desktop
iliketheinterwebs pro asked 7 years ago
- When I use your provided sample background image with the url link the your background image shows up fine.
- I commented out your background image in the css
- I added a background image to the img folder
- I added the path of the image in the img folder to the css
- I refreshed the page and it does not work
- I tried both paths to see if one would work over the other and neither did
- background: url("https://mdbcdn.b-cdn.net/img/green-sea-turtle.jpg")no-repeat center center fixed;
- background: url("img/green-sea-turtle.jpg")no-repeat center center fixed;
Start your code here/* YOUR CUSTOM STYLES */ html, body, header, #intro { height: 100%; } #intro { /*background: url("https://mdbcdn.b-cdn.net/img/Photos/Horizontal/Nature/full%20page/img%20%283%29.jpg")no-repeat center center fixed;*/ background: url("https://mdbcdn.b-cdn.net/img/green-sea-turtle.jpg")no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } .top-nav-collapse { background-color: #24355C; }
Marta Szymanska staff pro premium answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No