0

I made some css changes to my custom css file and uploaded the css file. However the changes are not shown. I have tried all of following:

remove var/cache/*
flush js/css cache from magento admin
clear browser cache
flush siteground cache

I even tried removing the css file and then access it from url URL, the old file content still shows but the css effects were gone on front UI.

what could be wrong.....

2
  • check this (stackoverflow.com/questions/7572673/…) Commented Mar 18, 2014 at 22:18
  • 1
    thanks Jatin for the pointer, I had to add the version paramenter '?v=01'to url to make it work: href="<?php echo $this->getSkinUrl('css/wide_menu.css'); ?>?v=01" Commented Mar 18, 2014 at 23:04

1 Answer 1

1

It is likely that your browser is still caching your CSS files. One way to check if it is indeed the browser and not say accidentally editing the wrong CSS file is by enabling and disabling the CSS file merge. By doing so you are forcing the browser to fetch for a whole new file - essentially bypassing caching.

You may also want to take a look at our CSS/JS Versioning extension which includes automatic refresh of the file name hash based on CSS/JS file timestamps (sensitive to editing and changes) http://extensions.activo.com/css-and-javascript-versioning.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.