Jump to content


Photo
- - - - -

CSS doesn't work on production

css less production

Best Answer velneo , 14 May 2014 - 12:17 PM

I found the mistery by myself. It wasn't load the CSS properly because velneo.es doesn't use Pagelines Framework (it does in development server). If I set Pagelines Framework at velneo.es child CSS file load fine. Sorry for the inconveniences. 

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 velneo

velneo

    Member

  • Members
  • 26 posts
  • Framework Version:Pagelines Framework 2.4.4
  • Country: Country Flag

Posted 14 May 2014 - 12:06 PM

Website URL: 

Please Login or Register to see this Hidden Content

Framework Version: Pagelines Framework 2.4.4

WordPress Version: 3.8.1

Server/Host: Apache and nginx

Screenshots: 

Please Login or Register to see this Hidden Content

Details: I created this Pagelines Framework child theme:

Please Login or Register to see this Hidden Content

in our development server. 

Then it was moved to our production server (with same configuration) and it was activated, getting this result:

Please Login or Register to see this Hidden Content

 
As you see, some CSS resources doesn't load properly.
 
The Chrome's JavaScript console says "Resource interpreted as Stylesheet but transferred with MIME type text/html: "

Please Login or Register to see this Hidden Content

"." But I don't know how could I solve this.
 
Any help is welcome. 
Thank you very much.

 

 



#2 velneo

velneo

    Member

  • Members
  • 26 posts
  • Framework Version:Pagelines Framework 2.4.4
  • Country: Country Flag

Posted 14 May 2014 - 12:17 PM   Best Answer

I found the mistery by myself. It wasn't load the CSS properly because velneo.es doesn't use Pagelines Framework (it does in development server). If I set Pagelines Framework at velneo.es child CSS file load fine. Sorry for the inconveniences. 



#3 Danny

Danny

    Is Awesome!

  • Moderators
  • 16923 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 15 May 2014 - 10:25 AM

No problem and thanks for informing us the issue has been resolved.







Also tagged with one or more of these keywords: css, less, production