Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm designing a mobile CSS file for my website. It normally has a top navigation bar, like in here, Stack Exchange's sites. In my mobile version, I plan to hide the topbar, and put a button, which toggles the topbar on/off, but default it is off.

Will Google ever find about my site's mobile version? The URL is the same. And if it does, will it consider this as a "black-hatting"?

share|improve this question
add comment

3 Answers 3

up vote 3 down vote accepted

No it will not be black hat as you have placed a button to turn it on and off. Imagine if its a black hat then there are millions who are using buttons to hide content using button like "see more".

share|improve this answer
add comment

That's absolutely safe. The Googlebot only gets upset when you "cloak" content on your page. That is, if you detect the Googlebot user agent and serve up a modified/different page to manipulate the bot.

share|improve this answer
add comment

If that is the case then why do a lot of mobile sites running on WordPress have a mobile on/off switch, they would be penalised by Google but they are not, so it seems for the moment to be safe to do.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.