I was doing a portfolio project on my own and had a problem and don’t know how to fix it.
When I go to the github’s live page it doesn’t show me the background.
Fun fact is that on VS Code it works so idk.
Here’s the project: https://github.com/bautitobal/mi-portfolio
Live page: https://bautitobal.github.io/mi-portfolio/
Tried with img/fondo.jpg and even with ‘https://bautitobal.github.io/mi-portfolio/mi-portfolio/img/fondo.jpg’
2
Answers
try:
background: linear-gradient(to top, rgba(30,35,38,.8), rgba(30,35,38,1)), url(‘../img/fondo.jpg’);
this seems file path issue you need to get to the image folder from your css folder
i hope it can help U, it work for me