• Ok so maybe its late and im just loosing it, but I have looked everywhere and I cannot see why my css changes are not reflecting on the site when I refresh the page.

    On the backend the style.css file exists. I tried change the file permissions to 666. the css file is taking changes but the site is not taking the updates. I used the web developer plugin in firefox to inspect the code.

    I am making changes to the description class for the tagline of this site using this code:

    ‘.description {
    font-size: 1.0em;
    font-style:italic;
    color:#507EC2;
    margin-top:-4px;
    padding-left:10px;
    }

    Im using the coprorate theme v2. Does workpress store CSS in the database or something? Im starting to think this is a caching issue or something..

Viewing 5 replies - 1 through 5 (of 5 total)
  • Does workpress store CSS in the database or something?

    No. It loads the CSS file directly

    I’m starting to think this is a caching issue or something

    Certainly sounds like it. One of my clients has a particularly dreadful hosting provider. A single CSS change can take up to 20 mins to make it through the hosting provider’s cache to the displayed page! The only way around this that I’ve found is update the CSS locally, FTP into the site, destroy the old css and upload the updated CSS.

    Thread Starter trinsic

    (@trinsic)

    Yea we are both right, this host (bluehost) implements caching. Thanks for the response.

    It also depends on the theme you’re editing, too, if you’re editing a theme. A theme like Kubrick that includes Theme Options requires more than just changed CSS to do some overrides because of the PHP scripting involved in not just the structural theme files but also in the functions.php page.

    do you use firefox ??? if not download it and ad the firebug plugin opposite click the element that you wish to style and make sure that that is the correct class and that you have targeted it correctly there may be a more defined tag targeting that class ?? firebug for the win helps me heaps with that sort of stuff couldn’t live with out it

    hope it helps and that i didn’t miss the point

    Thread Starter trinsic

    (@trinsic)

    Also just a FYI, I realized that you can use [CTRL] + refresh in your broswer to force an update. that seems to bypass the caching issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘style.css changes not updating’ is closed to new replies.