Broken css

Website URL

https://radiant.fun

Why is my website broken? I think is has something to do with the css, I tried using

<link rel="stylesheet" href="style.css?v=<?=filemtime("style.css")?>"/>

And at first time, it is working. When I check once again it is broken, I changed back to a normal then it works again. After a day it broke down again and won’t comeback to the usual design. What is the problem?

1 Like

No issue.

What do you see?

2 Likes

can’t you see the homepage is sucked in the header? and there’s supposed to be background images

You

You did not specify what was broken.
Please write clearly.

5 Likes

I specifically said the problem is css

The problem is, we don’t know what your website is meant to look like, only you know that. So you need to spell it out nice and clear for us

5 Likes

just a quick glance at your page source code I see two references to the same css file, that seems odd to me

<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="style.css?v=1738505061"/>

try removing the first one and change the version number on the 2nd one then hard refresh the page and see if that helps

5 Likes


this is what it should look like

well anyway, I think I figured it out, thanks

1 Like

So what was the issue ?

I seen the flag, stating that the site’s about crypto coins. Aren’t those not allowed on this hosting?

According to Admin’s posts here they are not unless things have recently changed ?

3 Likes

If Admin states it’s against ToS, I don’t think that would change. After all, anything crypto related on this hosting is considered untrustworthy and potentially malicious.

I remember Admin saying that all crypto sites would be banned but I did check the infinityfree TOS and have read through it twice and still can’t see anything about crypto

Maybe I keep missing it or maybe the TOS needs updating ?

Read-Researching the forum and ToS, the ToS was refined after the Admin’s posts.

The posts were made September 2021. The ToS, as of right now, was refined 2024-10-25. The ToS, as of right now, doesn’t mention anything related to cryptocurrency.

What is banned that I think COULD relate to cryptocurrency. (With Notes)

(I have notes in Parentheses. Three dots indicate the exclusion of a rule or set of rules because of relevance.)

5. GENERAL RULES OF CONDUCT

You acknowledge and agree that:

  • You will not collect or harvest (or permit anyone else to collect or harvest) any User Content (as defined below) or any non-public or personally identifiable information about another User or any other person or entity without their express prior written consent. (Cryptocurrency info collection)
  • You will not use this Site or the Services in a manner (as determined by InfinityFree in its sole and absolute discretion) that:
    • Is illegal, or promotes or encourages illegal activity; (Cryptocurrency trading/mining?)
    • Promotes, encourages or engages in any spam or other unsolicited bulk emails, or computer or network hacking or cracking, cloaking or sneaky redirects; (Cryptocurrency mining?)
    • Promotes, encourages or engages in lottery, casino, slot machine or other gambling related activity; (Cryptocurrency trading)
    • Infringes on the intellectual property rights of another User or any other person or entity (or links to content on third party sites/servers that infringes intellectual property rights); (Cryptocurrency info collection)
    • Violates the privacy or publicity rights of another User or any other person or entity, or breaches any duty of confidentiality that you owe to another User or any other person or entity; (Cryptocurrency info collection)
    • Contains or installs .exe, .apk, .dmg, .cmd, .com, .bat, .osx, .msi, .app files; (Cryptocurrency mining/management programs)
    • Contains or installs any viruses, worms, bugs, Trojan horses or other code, files or programs designed to, or capable of, disrupting, damaging or limiting the functionality of any software or hardware; (Cryptocurrency wallet/info theft?)

Regardless of what the ToS states, I think anything related to cryptocurrency should be banned in the spirit of the ToS.

3 Likes

Crypto websites are in violation of the terms of service and cannot be hosted on free hosting.

@Unique12343, please remove the offending content from your domain or it will be suspended.

8 Likes

Correct answer.

<link rel="stylesheet" href="style.css">

Not exactly the correct answer

If any changes were made to the css file then usually the browser will ignore them even after a hard refresh

This is why I suggested removing this line and changing the version number after the ?v= as this will force the browser to read and cache the css again

5 Likes

Somehow I kept missing that section (probably fatigue)

Thanks :heart:

4 Likes

Broken css file content