Magento 2.3.1 styles.css not loaded on frontendFrontend CSS faultyCustom styles not working - Magento 2how to modify style.css in magento 2Magento 2.3.1 installation ErrorMagento 2.3.1 is not working in XamppCannot add products in admin panel. “Permission denied” exception error messagehtmlContent not working in Magento 2.3.1 from Magento 2.3.0Magento 2.3.1 Uncaught TypeError: mixin is not a functionMagento 2 German Language Pack Problem - fresh Magento 2.3.1 with docker-compose on Ubuntu 18.04 LTSCustom Customer Account Dashboard link 404s on every hit

What is the meaning of [[:space:]] in bash?

How to delete certain lists from a nested list?

Sending a photo of my bank account card to the future employer

how many bits in the resultant hash will change, if the x bits are changed in its the original input

How should one refer to knights (& dames) in academic writing?

Should I be able to keep my company purchased standing desk when I leave my job?

If I stood next to a piece of metal heated to a million degrees, but in a perfect vacuum, would I feel hot?

Get back to US from Canada without passport

Alphanumeric Line and Curve Counting

Strategy to pay off revolving debt while building reserve savings fund?

Animal Shelter Management C++

Why do candidates not quit if they no longer have a realistic chance to win in the 2020 US presidents election

Do I need a 50/60Hz notch filter for battery powered devices?

Can "plane" (aeroplane) be used as a non-count noun?

Why is my calculation for added length of coax for a double cross antenna different to everyone else's?

Why is Katakana not pronounced Katagana?

When does Fisher's "go get more data" approach make sense?

What is the German word or phrase for "village returning to forest"?

Alternator dying so junk car?

How could a medieval fortress manage large groups of migrants and travelers?

What exactly is a Hadouken?

Is it rude to refer to janitors as 'floor people'?

Kepler space telescope planets detection

(Piano) is the purpose of sheet music to be played along to? Or a guide for learning and reference during playing?



Magento 2.3.1 styles.css not loaded on frontend


Frontend CSS faultyCustom styles not working - Magento 2how to modify style.css in magento 2Magento 2.3.1 installation ErrorMagento 2.3.1 is not working in XamppCannot add products in admin panel. “Permission denied” exception error messagehtmlContent not working in Magento 2.3.1 from Magento 2.3.0Magento 2.3.1 Uncaught TypeError: mixin is not a functionMagento 2 German Language Pack Problem - fresh Magento 2.3.1 with docker-compose on Ubuntu 18.04 LTSCustom Customer Account Dashboard link 404s on every hit






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I just installed a fresh Magento 2.3.1, and I ran the following code to deploy sampledata. bin/magento sampledata:deploy



The sample data are successfully installed but styles.css is not loading. I have checked pub/media folder, and I can see the styles.css does exist.



I tried the following step to fix the problem



  1. bin/magento setup:upgrade , bin/magento setup:di:compile and bin/magento cache:flush


  2. I cleared all content from folder generated, var/cache, var/page_cache, var/view_preprocessed, pub/static/ and flushed cache again.


  3. I give pub folder 777 permission.

but the styles.css is still not loaded on the frontpage.



This is the first time I experienced this weird issue. any suggestions?



I'm using luma theme and Magento 2.3.1



enter image description here



PS:




styles-m.css and styles-l.css are loaded successfully. it's only the
pub/media/styles.css not loaded.











share|improve this question
























  • Can you please check for any console logs in the browser? Any error logs

    – Raj Mohan R
    Jul 8 at 14:24











  • Just checked console tlog. no errors, but there's a warning saying "jquery-migrate.js:45 JQMIGRATE: jQuery.attrFn is deprecated". This should be the problem?

    – Magento Learner
    Jul 8 at 14:27











  • Is it default Magento or you have made changes like installing third-party extensions or your own?

    – Raj Mohan R
    Jul 8 at 14:29











  • @RajMohanR I did install some third-party extensions.

    – Magento Learner
    Jul 9 at 8:51











  • In the browser side for the CSS URL's what response did it display either 404 or some thing else?

    – Raj Mohan R
    Jul 9 at 8:59

















0















I just installed a fresh Magento 2.3.1, and I ran the following code to deploy sampledata. bin/magento sampledata:deploy



The sample data are successfully installed but styles.css is not loading. I have checked pub/media folder, and I can see the styles.css does exist.



I tried the following step to fix the problem



  1. bin/magento setup:upgrade , bin/magento setup:di:compile and bin/magento cache:flush


  2. I cleared all content from folder generated, var/cache, var/page_cache, var/view_preprocessed, pub/static/ and flushed cache again.


  3. I give pub folder 777 permission.

but the styles.css is still not loaded on the frontpage.



This is the first time I experienced this weird issue. any suggestions?



I'm using luma theme and Magento 2.3.1



enter image description here



PS:




styles-m.css and styles-l.css are loaded successfully. it's only the
pub/media/styles.css not loaded.











share|improve this question
























  • Can you please check for any console logs in the browser? Any error logs

    – Raj Mohan R
    Jul 8 at 14:24











  • Just checked console tlog. no errors, but there's a warning saying "jquery-migrate.js:45 JQMIGRATE: jQuery.attrFn is deprecated". This should be the problem?

    – Magento Learner
    Jul 8 at 14:27











  • Is it default Magento or you have made changes like installing third-party extensions or your own?

    – Raj Mohan R
    Jul 8 at 14:29











  • @RajMohanR I did install some third-party extensions.

    – Magento Learner
    Jul 9 at 8:51











  • In the browser side for the CSS URL's what response did it display either 404 or some thing else?

    – Raj Mohan R
    Jul 9 at 8:59













0












0








0








I just installed a fresh Magento 2.3.1, and I ran the following code to deploy sampledata. bin/magento sampledata:deploy



The sample data are successfully installed but styles.css is not loading. I have checked pub/media folder, and I can see the styles.css does exist.



I tried the following step to fix the problem



  1. bin/magento setup:upgrade , bin/magento setup:di:compile and bin/magento cache:flush


  2. I cleared all content from folder generated, var/cache, var/page_cache, var/view_preprocessed, pub/static/ and flushed cache again.


  3. I give pub folder 777 permission.

but the styles.css is still not loaded on the frontpage.



This is the first time I experienced this weird issue. any suggestions?



I'm using luma theme and Magento 2.3.1



enter image description here



PS:




styles-m.css and styles-l.css are loaded successfully. it's only the
pub/media/styles.css not loaded.











share|improve this question
















I just installed a fresh Magento 2.3.1, and I ran the following code to deploy sampledata. bin/magento sampledata:deploy



The sample data are successfully installed but styles.css is not loading. I have checked pub/media folder, and I can see the styles.css does exist.



I tried the following step to fix the problem



  1. bin/magento setup:upgrade , bin/magento setup:di:compile and bin/magento cache:flush


  2. I cleared all content from folder generated, var/cache, var/page_cache, var/view_preprocessed, pub/static/ and flushed cache again.


  3. I give pub folder 777 permission.

but the styles.css is still not loaded on the frontpage.



This is the first time I experienced this weird issue. any suggestions?



I'm using luma theme and Magento 2.3.1



enter image description here



PS:




styles-m.css and styles-l.css are loaded successfully. it's only the
pub/media/styles.css not loaded.








magento2.3.1 sample-data styles






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 9 at 10:17







Magento Learner

















asked Jul 8 at 14:07









Magento LearnerMagento Learner

75912 silver badges40 bronze badges




75912 silver badges40 bronze badges












  • Can you please check for any console logs in the browser? Any error logs

    – Raj Mohan R
    Jul 8 at 14:24











  • Just checked console tlog. no errors, but there's a warning saying "jquery-migrate.js:45 JQMIGRATE: jQuery.attrFn is deprecated". This should be the problem?

    – Magento Learner
    Jul 8 at 14:27











  • Is it default Magento or you have made changes like installing third-party extensions or your own?

    – Raj Mohan R
    Jul 8 at 14:29











  • @RajMohanR I did install some third-party extensions.

    – Magento Learner
    Jul 9 at 8:51











  • In the browser side for the CSS URL's what response did it display either 404 or some thing else?

    – Raj Mohan R
    Jul 9 at 8:59

















  • Can you please check for any console logs in the browser? Any error logs

    – Raj Mohan R
    Jul 8 at 14:24











  • Just checked console tlog. no errors, but there's a warning saying "jquery-migrate.js:45 JQMIGRATE: jQuery.attrFn is deprecated". This should be the problem?

    – Magento Learner
    Jul 8 at 14:27











  • Is it default Magento or you have made changes like installing third-party extensions or your own?

    – Raj Mohan R
    Jul 8 at 14:29











  • @RajMohanR I did install some third-party extensions.

    – Magento Learner
    Jul 9 at 8:51











  • In the browser side for the CSS URL's what response did it display either 404 or some thing else?

    – Raj Mohan R
    Jul 9 at 8:59
















Can you please check for any console logs in the browser? Any error logs

– Raj Mohan R
Jul 8 at 14:24





Can you please check for any console logs in the browser? Any error logs

– Raj Mohan R
Jul 8 at 14:24













Just checked console tlog. no errors, but there's a warning saying "jquery-migrate.js:45 JQMIGRATE: jQuery.attrFn is deprecated". This should be the problem?

– Magento Learner
Jul 8 at 14:27





Just checked console tlog. no errors, but there's a warning saying "jquery-migrate.js:45 JQMIGRATE: jQuery.attrFn is deprecated". This should be the problem?

– Magento Learner
Jul 8 at 14:27













Is it default Magento or you have made changes like installing third-party extensions or your own?

– Raj Mohan R
Jul 8 at 14:29





Is it default Magento or you have made changes like installing third-party extensions or your own?

– Raj Mohan R
Jul 8 at 14:29













@RajMohanR I did install some third-party extensions.

– Magento Learner
Jul 9 at 8:51





@RajMohanR I did install some third-party extensions.

– Magento Learner
Jul 9 at 8:51













In the browser side for the CSS URL's what response did it display either 404 or some thing else?

– Raj Mohan R
Jul 9 at 8:59





In the browser side for the CSS URL's what response did it display either 404 or some thing else?

– Raj Mohan R
Jul 9 at 8:59










1 Answer
1






active

oldest

votes


















0














You can change this setting by login to your Magento




admin panel -> then go to
Stores>Configuration>Advanced>Developer>Sign Static Files
(dev_static_sign) -> No.




(or)



You can also disable this from database by running below query :



insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);


and also check




1) Open app/etc/di.xml



2) Replace all
MagentoFrameworkAppViewAssetMaterializationStrategySymlink
occurrences with
MagentoFrameworkAppViewAssetMaterializationStrategyCopy




Thanks






share|improve this answer

























  • I have tried all metod you mentioned, and cleared both Magento and browser cache. the styles.css is still not loaded on the frontend. really weird issue.

    – Magento Learner
    Jul 9 at 8:57













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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f281233%2fmagento-2-3-1-styles-css-not-loaded-on-frontend%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You can change this setting by login to your Magento




admin panel -> then go to
Stores>Configuration>Advanced>Developer>Sign Static Files
(dev_static_sign) -> No.




(or)



You can also disable this from database by running below query :



insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);


and also check




1) Open app/etc/di.xml



2) Replace all
MagentoFrameworkAppViewAssetMaterializationStrategySymlink
occurrences with
MagentoFrameworkAppViewAssetMaterializationStrategyCopy




Thanks






share|improve this answer

























  • I have tried all metod you mentioned, and cleared both Magento and browser cache. the styles.css is still not loaded on the frontend. really weird issue.

    – Magento Learner
    Jul 9 at 8:57















0














You can change this setting by login to your Magento




admin panel -> then go to
Stores>Configuration>Advanced>Developer>Sign Static Files
(dev_static_sign) -> No.




(or)



You can also disable this from database by running below query :



insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);


and also check




1) Open app/etc/di.xml



2) Replace all
MagentoFrameworkAppViewAssetMaterializationStrategySymlink
occurrences with
MagentoFrameworkAppViewAssetMaterializationStrategyCopy




Thanks






share|improve this answer

























  • I have tried all metod you mentioned, and cleared both Magento and browser cache. the styles.css is still not loaded on the frontend. really weird issue.

    – Magento Learner
    Jul 9 at 8:57













0












0








0







You can change this setting by login to your Magento




admin panel -> then go to
Stores>Configuration>Advanced>Developer>Sign Static Files
(dev_static_sign) -> No.




(or)



You can also disable this from database by running below query :



insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);


and also check




1) Open app/etc/di.xml



2) Replace all
MagentoFrameworkAppViewAssetMaterializationStrategySymlink
occurrences with
MagentoFrameworkAppViewAssetMaterializationStrategyCopy




Thanks






share|improve this answer















You can change this setting by login to your Magento




admin panel -> then go to
Stores>Configuration>Advanced>Developer>Sign Static Files
(dev_static_sign) -> No.




(or)



You can also disable this from database by running below query :



insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);


and also check




1) Open app/etc/di.xml



2) Replace all
MagentoFrameworkAppViewAssetMaterializationStrategySymlink
occurrences with
MagentoFrameworkAppViewAssetMaterializationStrategyCopy




Thanks







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 9 at 9:06









Raj Mohan R

1,5973 silver badges13 bronze badges




1,5973 silver badges13 bronze badges










answered Jul 8 at 14:47









suresh-vagvalasuresh-vagvala

7111 bronze badges




7111 bronze badges












  • I have tried all metod you mentioned, and cleared both Magento and browser cache. the styles.css is still not loaded on the frontend. really weird issue.

    – Magento Learner
    Jul 9 at 8:57

















  • I have tried all metod you mentioned, and cleared both Magento and browser cache. the styles.css is still not loaded on the frontend. really weird issue.

    – Magento Learner
    Jul 9 at 8:57
















I have tried all metod you mentioned, and cleared both Magento and browser cache. the styles.css is still not loaded on the frontend. really weird issue.

– Magento Learner
Jul 9 at 8:57





I have tried all metod you mentioned, and cleared both Magento and browser cache. the styles.css is still not loaded on the frontend. really weird issue.

– Magento Learner
Jul 9 at 8:57

















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f281233%2fmagento-2-3-1-styles-css-not-loaded-on-frontend%23new-answer', 'question_page');

);

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







Popular posts from this blog

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?