Site not Updating when Theme CSS is Changes

  • Unknown's avatar

    Hi, I am trying to change some styling on my website. When I change the styling of my theme, it does not update on my site. When I view source, the old styles are still there. I have also cleared my browsers cache.

    WP.com: Unknown
    Jetpack: Yes
    Correct account: Unknown

    The blog I need help with is: (visible only to logged in users)

  • Hi there – It looks like you recently deleted a site that you were hosting here. Are you still working on a site that is hosted here with us at WordPress.com, or are you working on a self-hosted WordPress hosted elsewhere? Let us know and we’ll then try to help guide you in the right direction.

  • Unknown's avatar

    There could be a few reasons why your site is not updating when the theme CSS is changed:

    1. Cache: Your site may be caching previous versions of the CSS files. Try clearing your browser’s cache or use a cache-clearing plugin on your site.
    2. Theme Customizer: If you are using the Theme Customizer to make changes to your site’s appearance, those changes may not be reflected when updating the theme’s CSS files. Check if the Theme Customizer has options to set custom CSS.
    3. Specificity: If the changes you made to CSS are not being applied, you may need to check the specificity of the CSS selectors you are using. Sometimes, styles specified in more specific selectors may override those specified in less-specific ones.
    4. Save Changes: Make sure you have saved the changes you made to your CSS file before viewing the site. If this isn’t done, the site will not reflect changes made in the CSS file.

    If none of these work, you may want to look into disabling any caching plugins that you have installed to help debug the problem.

  • The topic ‘Site not Updating when Theme CSS is Changes’ is closed to new replies.