CSS not showing up? Just migrated from Hostinger

Hi everyone! I’m sorry if there’s a horribly simple solution to my problem (I hope there is).

I’ve just moved from the free hosting service at Hostinger, and uploaded my small personal website exactly as it was over there, not a single character was changed. And yet the CSS seems to not be working. The site does all seem to be there.

Also, while images DO show up, a script I have to randomize images DOESN’T work.

The site is here:
http://crystal-wall.tk/

You can see images show up here:
http://crystal-wall.tk/regular2/cupcakes.php

And here a bunch of images should appear because of the randomizer:
http://crystal-wall.tk/rewards.php

Any and all help is appreciated! Let me know if I can provide any other info.
Thanks in advance

edit: now I’m realizing all of the php inserts aren’t working, since that’s how my header file where the navigation is was linked (and why the style file isn’t being read). Any idea why it’s behaving like this? Is the php not supported?

Hi @Lauchis can you try downgrading your php version to 5.6 from settings>>general :slight_smile:

@Lauchis make sure you have correct path to your css files, I had same problem and did quick revision of my code after watching this free tutorial, go and watch it, you will get more ideas how it work and what is broken https://stude.co/405192/css-tricks

Hi @Ayu! Thanks so much for the suggestion, sadly it didn’t change a thing :frowning: any more ideas?

@herozero thanks! I don’t think anything is wrong with my files, since everything is exactly as it was when working just fine.

@Lauchis so i guess the issue is with your code in index.php
Replace your include lines with this code
<?php include 'header.php';?>
<?php include 'footer.php';?>

You are a LIFE SAVIOR. Thank you so so much @Ayu, you have made my day.

1 Like

Glad to know it’s fixed now :slight_smile:
Have a good day :wink: