I edited and uploaded a css file to my Magento 1.5 site. I refreshed the cache and also refreshed the browser cache but I could see any changes reflected to the site. What should I do?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Did you check that Magento is sending the correct CSS file from the correct theme?
This might seem like a basic mistake, but it happens more often than you think especially if you have multiple design/theme folders. View source of HTML and just make sure that the page is using the CSS file you modified.
If magento is not sending the correct CSS,
check in admin -> System -> Design -> Themes -> Skin or your phtml code.
When you include your CSS file from PHP(template) code, make sure you use
Also, you can clear cache directly by deleting folders in from magento/var/cache/
If Magento is sending the correct CSS file, then the last thing you can do is adding a version name to the CSS from the layout or from phtml code. Just convert fileName.css to fileName.css?v=01 or something, then the browser will download the latest change.
Hope one of these will solve your problem.