CSS is not loading

Hi, my webpage is not showing bootstrap customo css. I tried in other hosting services and locally and it worked, but in infinityfree it doesn´t work. The webpage is https://nibdisenos.ml

In this image it works because I am using 000hostinger
image

The link below is Infinityfree, here it doesn´t work

I speak spanish.
Please help me!:grinning:

remember to name the file you want to be shown by default index.html

1 Like

its https://nibdisenos.ml/promo

Your CSS file has this font-family value:

font-family: Lato display=swap, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

So it doesn’t work. Change that to this:

font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

on your CSS file, and clear your browser cache and purge Cloudflare cache in order for the new changes on the font to be seen. Also, this isn’t a web hosting problem, it’s only a code problem.

1 Like

Hi, I tried that, but it doesnt worked.

Then:

after changing the code with my one on your CSS file.

I did that too. the problem is infinityfree, because hostinger works fine

@Ergastolator1

It is not very clear what is the difference between how they look. Tell us what is different between the two of them.

2 Likes

If you look closely and use your inspector in your browser and change the css property, it does change.

i know but the same code worked in all the hostings
except epizy

display=swap is under font-display property. Try that property.

Also ask a quesiton on stack exchange. They can help you with the font-family problem with ‘display=swap’

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.