CSS, and Images break after connecting custom domain #21575
-
I built a portfolio using github pages, under the default github url everything worked perfectly. the site: www.donovanjesse.design |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It looks like this is happening because your asset links still have the repository name hardcoded into the links:
You’ll need to remove
Once you’ve done that for any links to scripts, styles, or images then it should start working! |
Beta Was this translation helpful? Give feedback.
-
thomasshaped:
Amazing, it worked. Thank you! |
Beta Was this translation helpful? Give feedback.
It looks like this is happening because your asset links still have the repository name hardcoded into the links:
You’ll need to remove
/Portfolio-Website-1.0
from any asset links, like this:Once you’ve done that for any links to scripts, styles, or images then it should start working!