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
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.
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:
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.