Background Image 404 error - File path is correct

Viewed 68

I'm hoping someone can help me! I have a background image but when I've pushed it to GitHub it comes up with a 404 error. I've checked the console and it's loading in the type text/html. All my other images are loading and the file path for the background is correct. Is there something else I need to do? Thank you!

  background: 
    linear-gradient(
      to right,
      rgba($Dust_Blue, 0.5),
      rgba($Dust_Blue, 0.2)
    ),
    
    url('/assest/images/background.jpg') center top;
  background-size: cover;

Link to site Image of error from console

1 Answers

You can solve this by changing the image path

from: "assest/images/ to "../../images/

and by the way, there is a typo there, it should be assets

Related