Github photo gallery - need help!

So I created a website https://discuss.pixls.us/t/my-static-photo-gallery-on-github/2164/21, and now have a domain to point to it.

The problem is, that apparently the domain is not picking up the ccs folder in github, and the site looks like this fotonut.nz.

I have gone into settings and put fotonut.nz inside the ‘custom domain’, and my provider assures me the DNS settings are as they should be.

I’d really appreciate any help to make this work. Any tips that I can try within github?

Thanks in advance.

You’re throwing a ton of errors of this sort:

Failed to load resource: the server responded with a status of 404 (Not Found)
http://fotonut.nz/fotonut/css/main.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://fotonut.nz/fotonut/css/super-search.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://fotonut.nz/fotonut/css/galleries.css Failed to load resource: the server responded with a status of 404 (Not Found)

Which makes me think your path to your css is slightly off. If I remove the extraneous /fotonut/ from the path, the CSS resolves. So either remove the extra /fotonut/ or make sure it actually resides at that path.

Basically, fix this:

    <link rel="stylesheet" href="/fotonut/css/bootstrap.min.css">

    <!-- Custom CSS -->
    <link rel="stylesheet" href="/fotonut/css/main.css">
    <link rel="stylesheet" href="/fotonut/css/galleries.css">
     <link rel="stylesheet" href="/fotonut/css/super-search.css">
    <link rel="stylesheet" href="/fotonut/css/magnificpopup.css">

to remove the /fotonut:

    <link rel="stylesheet" href="/css/bootstrap.min.css">

    <!-- Custom CSS -->
    <link rel="stylesheet" href="/css/main.css">
    <link rel="stylesheet" href="/css/galleries.css">
     <link rel="stylesheet" href="/css/super-search.css">
    <link rel="stylesheet" href="/css/magnificpopup.css">

Thanks @patdavid, so how do I go about removing the extra /fotonut/?

Which file does the above fix code reside? I’ve checked both the main index.html and _config.yml files, but don’t see anything like whats above.

Cheers.

EDIT: Got it. Sorted. Thanks for your help!

1 Like