Hello, @Liya,
I have just logged in to your site and found that my provided code is working fine when logged in, here is the screenshot: https://postimg.cc/TybPG0Sy and the issue is there on your site without Logging in, so it is just the cache issue nothing else, I can see you have active cache plugins and also the activate server cache as well, so you have to first remove your site cache and plugins cache completely and then you have to remove the server cache including the CDN and turn them OFF till you are in the development process, and finally check back to your site after removing the browser cache.
Regards 8Themes Team.