Here is the warning the warning email I got:
To: Webmaster of https://www.thecreativedev.com/,
Here I am going to show you how to fix this issue when you have the WordPress blog.
How To fix the problem using robots.txt
There is a very simple fix to solve this issue. The solution of this issue is to allow Googlebot to access your CSS and JS files by updating your robots.txt file. The robots.txt file is in the root directory of your server which gives instructions to search engines about what to crawl and what not to.
Here’s the line of code to add inside robots.txt
#Googlebot User-agent: Googlebot Allow: *.css* Allow: *.js*
After adding above line of code into robots.txt file of your site, Go to Google Webmaster Tools and inside that you can find the “grab and presented” this place:
Then you can click on the “fetch and render” start the test, the results you’ll know that your page CSS or JS being accessible by google bot and confirm whether your problem fixed.In addition, you can also use the robots.txt testing tool from Search Console to identify if there are any other crawling issues in your site.
What are fetch and render?
From suddenly got an email from Google Webmaster Tools, but you can deal with the issue easily after reading this article.However, if you have any query or confusion in this, you can ask in the comment section.