I use Xampp for localhost and had a background img in my style.css declared. I wasn't sure about it so I changed the path to another picture and deleted the old picture file (sea.jpg) from my folders. I should have set the path correctly, and i cleared my browsers cache to maintain having no issues with that. BUT now, no background img is showing and my browser log says the img file not found for sea.jpg?! But i deleted it! Watching my css with developer tools in the browser, the old file path with sea.jpg is still present, but in my style.css it's not and in no other file there isn't a line even containing the word "sea" !!!
Browser css code for style.css:
background:
-webkit-linear-gradient(rgba(0,44,114,0.9), rgba(0,98,255,0.5)),
url(./img/weboptimized/Sea.jpg) no-repeat;
background: linear-gradient(rgba(0,44,114,0.9), rgba(0,98,255,0.5)),
url(./img/weboptimized/Sea.jpg) no-repeat;
Same line of css code of style.css in editor:
background:
-webkit-linear-gradient(rgba(0,44,114,0.9), rgba(0,98,255,0.5)),
url(./img/events/boat.jpg) no-repeat;
background:
linear-gradient(rgba(0,44,114,0.9), rgba(0,98,255,0.5)),
url(./img/events/boat.jpg) no-repeat;
background-size: 100% auto;
File names and path should be correct.
Does someone pls have an idea what the issue could be?
Aucun commentaire:
Enregistrer un commentaire