Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS file not updating

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26235

    Working on wordpress install. When I make changes to my CSS file they are not showing up. They will show up later(maybe like 5min or 10 reloads) I have tried emptying the cache in safari and firefox. My PHP files are updating just fine.

    Thanks,
    Aaron

    #64665
    Chris Coyier
    Keymaster

    Do you hold the shift button when you click the refresh button? That’s usually called a hard-refresh and it has better results than regular refreshes (in a lot of browsers).

    #64699

    i also heard of using a random query string to stop wordpress caching the CSS file..

    something like

    Code:
    css/style.css?

    simplified example but I think that’s how the method goes, maybe someone can clarify this.

    #64946
    Hawke
    Member

    Try what chris said, it work pretty much everytime. I still prefer to use the ol’ good Ctrl + F5 though, instead of holding Shift when I click Refresh.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.