Refused to apply style “because its MIME type ('text/html') is not a supported stylesheet MIME type” in magento 2.3Magento 2.3 Inject helper into controller object type error?Magento 2.3 : Serving site from pub, now images get 404CSS and JS Files Not Found MagentoUncaught TypeError: Argument 1 passed to SymfonyComponentConsoleHelperProgressBar::setFormat() must be of the type string, null givenHow to disable frontend for CMS/API-only, headless Magento 2.3admin page is not workingMagento 2.3.0 - Class MailCampaignsConnectorHelperMailCampaigns_API does not existMagento 2 : Area code must be set before starting a session?Magento Website ErrorI am trying to install Magento 2.3 with PWA studio
How can I tell someone that I want to be his or her friend?
UK: Is there precedent for the governments e-petition site changing the direction of a government decision?
What killed these X2 caps?
Facing a paradox: Earnshaw's theorem in one dimension
Is there a hemisphere-neutral way of specifying a season?
What's the difference between 'rename' and 'mv'?
What does it mean to describe someone as a butt steak?
What's the point of deactivating Num Lock on login screens?
Where does SFDX store details about scratch orgs?
Can I ask the recruiters in my resume to put the reason why I am rejected?
Today is the Center
Should I tell management that I intend to leave due to bad software development practices?
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
Withdrawals from HSA
Is "remove commented out code" correct English?
1960's book about a plague that kills all white people
Combinations of multiple lists
How do conventional missiles fly?
Twin primes whose sum is a cube
intersection of two sorted vectors in C++
Western buddy movie with a supernatural twist where a woman turns into an eagle at the end
Stopping power of mountain vs road bike
Anagram holiday
In a Spin are Both Wings Stalled?
Refused to apply style “because its MIME type ('text/html') is not a supported stylesheet MIME type” in magento 2.3
Magento 2.3 Inject helper into controller object type error?Magento 2.3 : Serving site from pub, now images get 404CSS and JS Files Not Found MagentoUncaught TypeError: Argument 1 passed to SymfonyComponentConsoleHelperProgressBar::setFormat() must be of the type string, null givenHow to disable frontend for CMS/API-only, headless Magento 2.3admin page is not workingMagento 2.3.0 - Class MailCampaignsConnectorHelperMailCampaigns_API does not existMagento 2 : Area code must be set before starting a session?Magento Website ErrorI am trying to install Magento 2.3 with PWA studio
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.

magento2.3
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
|
show 3 more comments
I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.

magento2.3
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
this happens when you have deleted the .htaccess inside your pub/static folder
– magefms
2 days ago
please check, copy the .htaccess file from your old back then it should work
– magefms
2 days ago
did you run static contents deploy?
– magefms
2 days ago
thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.
– user999627
2 days ago
did it work? or not
– magefms
2 days ago
|
show 3 more comments
I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.

magento2.3
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I move my code from "/var/www/html/demo" to "/var/www/html" after that CSS is not loading on my Magento 2 admin panel. The frontend is working fine.

magento2.3
magento2.3
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 days ago
user999627
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
user999627user999627
11
11
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
user999627 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
this happens when you have deleted the .htaccess inside your pub/static folder
– magefms
2 days ago
please check, copy the .htaccess file from your old back then it should work
– magefms
2 days ago
did you run static contents deploy?
– magefms
2 days ago
thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.
– user999627
2 days ago
did it work? or not
– magefms
2 days ago
|
show 3 more comments
this happens when you have deleted the .htaccess inside your pub/static folder
– magefms
2 days ago
please check, copy the .htaccess file from your old back then it should work
– magefms
2 days ago
did you run static contents deploy?
– magefms
2 days ago
thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.
– user999627
2 days ago
did it work? or not
– magefms
2 days ago
this happens when you have deleted the .htaccess inside your pub/static folder
– magefms
2 days ago
this happens when you have deleted the .htaccess inside your pub/static folder
– magefms
2 days ago
please check, copy the .htaccess file from your old back then it should work
– magefms
2 days ago
please check, copy the .htaccess file from your old back then it should work
– magefms
2 days ago
did you run static contents deploy?
– magefms
2 days ago
did you run static contents deploy?
– magefms
2 days ago
thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.
– user999627
2 days ago
thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.
– user999627
2 days ago
did it work? or not
– magefms
2 days ago
did it work? or not
– magefms
2 days ago
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
user999627 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268268%2frefused-to-apply-style-because-its-mime-type-text-html-is-not-a-supported-s%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
user999627 is a new contributor. Be nice, and check out our Code of Conduct.
user999627 is a new contributor. Be nice, and check out our Code of Conduct.
user999627 is a new contributor. Be nice, and check out our Code of Conduct.
user999627 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268268%2frefused-to-apply-style-because-its-mime-type-text-html-is-not-a-supported-s%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
this happens when you have deleted the .htaccess inside your pub/static folder
– magefms
2 days ago
please check, copy the .htaccess file from your old back then it should work
– magefms
2 days ago
did you run static contents deploy?
– magefms
2 days ago
thanks for the reply! i just followed the below steps : download a fresh .htaccess file from the official repo here github.com/magento/magento2 and replace or add in it pub/static but no luck.
– user999627
2 days ago
did it work? or not
– magefms
2 days ago