codeigniter website on a host- CSS changes does not change front end elements -


  • my site in host. (not localhost)
  • framework: codeigniter.
  • changes made using css: flot chart's legend

i did changes front end using chrome tools/developer tools. can see changes made instantly.

i ftp site, downloaded css file, did necessary changes (same chrome developer changers) , uploaded ccs file.

i access site, cannot see changes made using css file.

  1. check if hosted css contains latest changes
  2. if css ok try open chrome dev tools , inspect element trying modify. scroll through css applied element , check if styles there.
  3. if didn't find of styles tring apply element misspelled selector name. remember check .class #id

also, in order ensure css files not cached suffix php files this

<link href="/stylesheet.css?<?php echo time(); ?>" rel="stylesheet" type="text/css" /&glt; 

edit tip above works resource! (css, javascript files, images ...)


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -