-3

So if you run my code in your editor in default browser the background image appears, but ever since i made it an .io on github, no image is showing up in the background.

Does anyone understand why?! Thanks for any feedback!

How it should be

Whats happening on my .io!

Help!!!!!

Thanks!

https://github.com/Joeyryanbridges/lindseyStyle (github code)

joeyryanbridges
  • 193
  • 1
  • 1
  • 8
  • 1
    Possible duplicate of [Background Images not showing on Github Pages for Website](https://stackoverflow.com/questions/41607049/background-images-not-showing-on-github-pages-for-website) – Vinit Desai Sep 24 '18 at 07:14
  • check console for errors. if error shows image is not found. try to change the image link to its root path by adding ~ ex: `lindsey` – Rashid Sep 24 '18 at 07:26

1 Answers1

1

Welcome Stack Overflow, Looks like the image path and css background shorthand is wrong.

.centerImg{background: url('../images/succ2.png') no-repeat center fixed ghostwhite; 
background-size: 56%;}

Let me know it works for you.

Selvam Elumalai
  • 693
  • 7
  • 22