skip to Main Content

Basically I’m doing my first ever internet portfolio. I’m using hostinger and wordpress.com.

I wanted to create my own theme, so I create a folder in wpcontet/themes named mytheme and put in my style.css and index.css and it was working good.

After I made some changes with VisualStudioCode and uploaded my style.css via filezilla. If I go in the files via Hostinger, the css is correctly present and updated but when I open the internet site, the modification are not present.

I think it’s probably a cache problem or something like that but my css basically doesn’t want to update to the last version I uploaded. I controlled it via the "Inspect" button on google chrome and in fact the updated css is not applied.

Can someone help me?

Thank you

Clear the cache on hostinger

2

Answers


  1. Got the same problem.
    Have you tried using another browser or private browsing mode?

    If it works in another browser, it might be an issue with your local cache.

    You could try CTRL+R or SHIFT+F5 to refresh your local cache.

    Login or Signup to reply.
  2. It sounds like you’re encountering a caching issue with your WordPress theme. Since you’ve already uploaded the updated CSS file and confirmed its presence in the files via Hostinger, but it’s not reflecting on your live site, clearing the cache is indeed a good first step.

    Here’s how you can clear the cache on Hostinger:

    1. Log in to your Hostinger account.
    2. Navigate to the caching settings or options.
    3. Look for an option to clear the cache or purge cache. This might be labeled differently depending on the caching system you’re using.
    4. Once you’ve found the option, go ahead and clear the cache.

    After clearing the cache, try refreshing your website. If the issue persists, you may also want to check if there are any caching plugins installed on your WordPress site and clear the cache from there as well.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search