The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> CSS background img URL - Github, Help!
JUI43555
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
coothead
post 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




Both of your posted links give me 404 results. IPB Image


coothead
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 8 2023, 04:35 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,661
Joined: 10-August 06
Member No.: 7



QUOTE(JUI43555 @ Jul 8 2023, 08:04 AM) *

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.


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
JUI43555
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 8 2023, 05:36 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



You can't. It's OK. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 11:31 AM