styls.css takes hours to reflect I don't get what I changed. (6 posts)

  1. johan@aanscharius.com
    Posted 2 years ago #


    First I have to say this:
    1. I looked in the forum and found topics about this issue from many years ago.
    2. My location is Belgium which is timezone Brussels
    3. I did not find a solution for my issue.

    A page: I change it, I see the changes almost immediately. I disabled all caching plugins, I see the changes in the pages instantly.

    Styles.css : I change it: I don't see a thing happening. I check in the debugging console in Chrome or Explorer, indeed, the old version.

    Am I working in the right file? Simple, rename styles.css to blabla.css.

    Indeed, the site becomes spaghetti ... brrr.

    Rename it back, it takes a few minutes and there the site is: WITH THE OLD VERSION

    Sleep on it, after a night, changes are visible ... not to my expectances. Change it back ...wait a day?

    Tried almost everything, so I need help..


  2. Andrew
    Forum moderator
    Posted 2 years ago #

    Have you tried clearing your browser's cache?

    By the way, you shouldn't be editing the theme's files. Use a Custom CSS Manager plugin to hold your CSS modifications.

  3. johan@aanscharius.com
    Posted 2 years ago #

    Tried everything, clearing browser cache,(in chrome, safari, explorer...)

    Putting this line in front doesn't make a change:

    <link rel="stylesheet" type="text/css" href="http://aanscharius.com/wp-content/themes/quickhost/style.css?t=<%= DateTime.Now.Ticks %/>" media="screen" />

    My timezone is 9 hours different from the server's zone, (I'm on UTC +1 and the server is on UTC -8)
    The line above should do the trick, but no way. If I change the styles.css , i have to wait for it to come through. i cannot force it.

    As for now ... unless you have the solution for me...

    How do I use the Custom CSS Manager? Should I point to a file in HTML?

  4. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Where is your site hosted? Do you have caching on your site or server?

    Custom CSS is a plugin - once installed, put your CSS changes there - so that you do not modify theme files that will be overwritten when the theme is updated.

  5. johan@aanscharius.com
    Posted 2 years ago #


    Dreamhost. No caching, all disabled.

    Already installed the plugin, it doesn't make the custom css file. That's the reason I work on the style.css, which I don't like neither ...

  6. WPyogi
    Forum Moderator
    Posted 2 years ago #

    You need to go back and figure out what's going on with your site -- AND get custom CSS going.

    Start by deactivating all your plugins and change to the default WP theme - see if it works there. If so, start reactivating the plugins to see which might be the culprit.

Topic Closed

This topic has been closed to new replies.

About this Topic