Answer the question
In order to leave comments, you need to log in
How to set Github Pages image path?
I host the project on Github Pages on the gh-page branch (this is the second project and you can't follow the main path).
https://poslavsky.github.io/multiStepsForm/public/
Everything works, but for some reason the pictures have the
path https://poslavsky.github.io/img/promo1.jpg
to the root, not to multiStepsForm. Therefore, they are not displayed.
Maybe you have come across and have ideas how to fix it easier?
Answer the question
In order to leave comments, you need to log in
Replace absolute paths
on
or
background: #FF6E20 url(/multiStepsForm/public/img/promo1.jpg) no-repeat;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question