CSS background img URL - Github, Help! |
CSS background img URL - Github, Help! |
JUI43555 |
Jul 8 2023, 01:04 AM
Post
#1
|
Member Group: Members Posts: 44 Joined: 6-March 23 From: Perth Member No.: 28,833 |
Sorry if wrong place for this. But out of ideas.
I cannot for the life of me work out why my header background image isn't loading in GitHub. I've tried a variation of file paths in the URLand it's still not working. Here's the repos url: https://github.com/MrRobotBDR/Clipboard-landing-page Page: https://mrrobotbdr.github.io/Clipboard-landing-page/ I've tried these... images/bg-header-desktop.png ./images/bg-header-desktop.png .../images/bg-header-desktop.png |
coothead |
Jul 8 2023, 04:28 AM
Post
#2
|
Advanced Member Group: Members Posts: 206 Joined: 12-January 23 From: chertsey, a small town 25 miles south west of london, england Member No.: 28,743 |
coothead |
Christian J |
Jul 8 2023, 04:35 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,667 Joined: 10-August 06 Member No.: 7 |
https://mrrobotbdr.github.io is a different domain (both the "mrrobotbdr" subdomain and the ".io" top level domain), so if you want to use an image from https://github.com you'll need the full URL. However https://github.com/MrRobotBDR/Clipboard-lan...ree/main/images returns a 404. |
JUI43555 |
Jul 8 2023, 04:42 AM
Post
#4
|
Member Group: Members Posts: 44 Joined: 6-March 23 From: Perth Member No.: 28,833 |
Sorry I fixed it about 10 min before the first answer. Forgot to come and delete the post, sorry chaps.
*How do i delete a post? lol This post has been edited by JUI43555: Jul 8 2023, 04:46 AM |
pandy |
Jul 8 2023, 05:36 AM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,734 Joined: 9-August 06 Member No.: 6 |
You can't. It's OK.
|
Lo-Fi Version | Time is now: 21st May 2024 - 09:27 AM |