This topic has 14 replies, 3 voices, and was last updated 9 years, 9 months ago ago by Robert Hall
Hello,
I have set up a Child theme for Royal
@import url(”../royal/style.css”);
The thing is, whenever I add a style it does not update on the site, it takes about 30min-1h to see the results and it makes me have an ulcer.. 🙁
Do you know how I can enqueue my css from my custom function so it loads it before the original one?
Thanks,
Emelie
Hello,
Most likely your site is cached. Please clear your cache and check the site again.
Also please provide us with wp-admin and FTP credentials in Private Content to look on issue more deeply.
Regards,
Robert Hall.
Hello,
I have W3 Total Cache and it doesnt help..
But my question was if you have a Enqueue script code so I can enqueue my style.css first?
Thank you
Hello,
The code in style.css file of the Royal Child Theme has the most highest priority then default style.css of the Royal Theme.
Regards,
Robert Hall.
Then I don’t understand what the issue is.
It takes sooooo loooong for my custom css to be updated on the site.
Normally I just have to refresh, but now I have to wait 30 minutes.
Please provide us with wp-admin and FTP credentials in Private Content to look into the issue more deeply.
Regards,
Robert Hall.
Okay. Check the private content please
Most likely you use DNS cache. Please clean it.
Read more here how to clean DNS cache:
https://documentation.cpanel.net/display/CKB/How+To+Clear+Your+DNS+Cache
Regards,
Robert Hall.
I will give it a go but I have about 10 websites and I don’t have this problem on any of them..
I will get back to you if it worked.
Thanks
//Emelie
You’re welcome!
We will wait for your feedback.
Regards,
Robert Hall.
Hi again,
I have cleaned my DNS cache, but no change.
Do you have any other ideas on how to solve this?
Hello,
Please read this article:
http://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens
It may help you.
Thank you.
Regards,
Eva Kemp.
FYI
I contacted my hosting company who gave me this code to put in to the .htaccess
Header add “disablevcache” “true”
It worked and I can now see my changes straight away.
Hello,
We’re glad to hear it.
If you have any questions feel free to contact us.
Have a good day!
Regards,
Robert Hall.
The issue related to '‘Enqueue my Child Theme style.css first’' has been successfully resolved, and the topic is now closed for further responses