Does google index pages with opacity:0 or hidden or display:none
Does google index pages with opa开发者_JAVA技巧city:0 or hidden or display:none
You could try using the Fetch as Googlebot tool in Webmaster Tools Labs. It is described by Google as a utility that will allow you to see how Googlebot sees web pages.
More information:
- Fetch as Googlebot and Malware details -- now in Webmaster Tools Labs!
- GENERIC CIALIS on my website? I think my site has been hacked!
This is very easily Googleable... seems like they'll index the hidden parts, but may tend to rank them lower, especially if it looks like you're cloaking to game the search engine.
John Mueller stated that content hidden from the user would be indexed but carry less weight than that visible to the user (https://youtu.be/zZAY-BwL6rU?t=406).
I thought the introduction of mobile-first indexing might have changed things but the testing I've done with new build sites on fresh domains suggests otherwise. I'm confident that significantly less weight is carried by elements with opacity 0, so where an element has value from an SEO perspective I'm happy to move it around but I won't fade it in.
精彩评论