Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

some sites cannot display correctly, the css file doesn't work

  • 5 תגובות
  • 1 has this problem
  • 1 view
  • תגובה אחרונה מאת cor-el

more options

some wordpress sites can not display correctly. ex. https://clayfanshop.com/ it looks css files doesn't work.

The site works correctly other browsers, Google chrome, Edge, IE.

Clear all cache and cookie, but nothing changes. I installed Firefox on another PC, but it had same problem.

Not only the site, the layout of login page of my wordpress is broken (css files are not working), so it is not the problem of wordpress theme or plugins.

some wordpress sites can not display correctly. ex. https://clayfanshop.com/ it looks css files doesn't work. The site works correctly other browsers, Google chrome, Edge, IE. Clear all cache and cookie, but nothing changes. I installed Firefox on another PC, but it had same problem. Not only the site, the layout of login page of my wordpress is broken (css files are not working), so it is not the problem of wordpress theme or plugins.

כל התגובות (5)

more options

I would advise to use Chrome since I find it works better with sites to translate language and properly display the site.

more options

Yes, I know Chrome, Edge, IE, and Opera works well.

But, I'd like to know why this problem happens.

If it caused by problem in Firefox , it should be fixed. If it can be solved by web site side, I want to know how to do it, because same problem has happened on my Wordpress site.

more options

This website uses <link rel="preload"> to load some style sheets. Current Firefox versions do not support this preload feature.

You can run this code in the Web Console or create a bookmarklet (new bookmark) and paste this JavaScript code in the location field. If you run this code then Firefox will retrieve the CSS files.

javascript:(function(){var e=document.querySelectorAll('link[rel="preload"]'),E,i;for(i=0;E=e[i];i++){E.setAttribute('rel','stylesheet')}})()
more options

Thank you very much!

more options

You're welcome.

See also:

  • Bug 1405761 - css not loaded correctly with rel=preload

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
) You can vote for a bug to show your interest
https://bugzilla.mozilla.org/page.cgi?id=voting.html