Topic: Bg-image doesn't work
Aleksandar Srbljak pro asked 6 years ago
Saeedb91 free answered 6 years ago
Ollie Vincent pro answered 6 years ago
background: url(‘../img/head-bg.jpg’);
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Bartłomiej Malanowski staff commented 6 years ago
Do you get any logs? Are you sure the path to the image is correct?Ollie Vincent pro commented 6 years ago
You need a height on the background image otherwise it won't show. - unless you have content on it.Aleksandar Srbljak pro commented 6 years ago
yes, i'm sure..just it won't show here, i don't know why..it just shows blank space instead of picture..still doesn't work.. :/Ollie Vincent pro commented 6 years ago
I suggest you check the file path thenAleksandar Srbljak pro commented 6 years ago
when i insert picture in html as a img src it works, but in css as a background img it doesn't work..sorry, maybe i'm boring but i really want to solve this problem.. :/Ollie Vincent pro commented 6 years ago
Hi, no problem :) can you share a link so that we can see the problem? ThanksAleksandar Srbljak pro commented 6 years ago
I solved the problem..i have changed program, now i'm coding in Dreamweaver instead of Atom..thanks anyway, i was so nervous, but now it's cool :)