Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are facing an issue with the css styling in Magento store. I tried refreshing the cache in admin but that didn´tt fix the issue.

Use

  • Varnish as external cache
  • NGINX
  • Magento 1.7.0.2
  • Ultimo as the theme

I assume that the theme files are not loading but we are unable to find a correct solution for this.

What steps should we take to resolve this issue?

share|improve this question
    
Please provide proper and detailed information about the problem itself and software/version you are using. Otherwise no one will be able to debug this. – Stefan Gregori Mar 26 '15 at 14:33
    
i solve issue by following techbandhu.wordpress.com/2013/09/12/… – matinict Feb 8 at 6:18
up vote 0 down vote accepted

Have you resolved your problem yet...?

If you haven't, open you website -> right click and select view page source or just press CNTRL+U Keys together. There you'll find your styles.css file. Check if it is showing the right url. Click on it, see if it is loading ok.

It should look like this:

<link rel="stylesheet" type="text/css" href="http://www.abcd.com/skin/frontend/rwd/default/css/styles.css" media="all" />

For this problem to happen, There are three reasons I know of:

1.) There might be an issue because of System Cache. Clean the cache from the backend or go to magentoroot/var/ and delete the contents of the cache and session folder.

2.) There can be issue with the file permission of your css File. In this case just type the following command in terminal, sudo chmod 777 -R /magentoroot/

3.) Lastly, there could be something wrong with the url in your core_config_data table of your database, which I think you have already checked.

if all these doesnt solve your problem...

Please someone share your knowledge and add some extra points :-)

share|improve this answer
    
Yes, Thank you Yugesh...you made my day – Sai Kumar J Mar 30 '15 at 6:26

Have you made any recent changes to your database ?

login to your database: find the table named 'core_config_data'

there check the entries against Value:

where path = web/unsecure/base_url and path = web/secure/base_url

see if '/' is missing after the url if yes then put it there.

share|improve this answer
    
Hi Yugesh, I have checked in the admin and the url is correct with '/' in the end. – Sai Kumar J Mar 27 '15 at 7:14
    
Have you checked in the table 'core_config_data' ?? – Yugesh M Kumar YO Mar 27 '15 at 9:34
    
Yes I checked in the core_config_data – Sai Kumar J Mar 27 '15 at 10:36
    
Hi Sai, Have you Resolved Your Problem Yet...? – Yugesh M Kumar YO Mar 29 '15 at 2:53

Adding something to Yugesh M Kumar YO's answer

  1. Check .htaccess file
  2. Disable css merge from core_congif_data

And can you access the admin area without any problem?

If so 3. Check if you have set the design properties correctly. (package, skin, template etc..)

Some more details from your end will help to trap the issue.

share|improve this answer

In my case it is due to .htaccess file. In my project there is a .htaccess file in /skin folder with following content:

Header set Access-Control-Allow-Origin "*"

I have removed this file and it works fine.

share|improve this answer

you tried to load the css file directly via url and see if you load ok?

You can try to erase the cache Magento cache or jumping, doing this

URL

http://www.youurl.com/?abcd=123
share|improve this answer
    
Hi Marc, I refreshed and cleared the cache from admin. I can see the css file loading with the code in it. – Sai Kumar J Mar 26 '15 at 14:41

Add Design Change in AdminPanel/System/Design

"Date From" nad "Date To" leave empty.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.