skip to Main Content

I have a text element on a page that needs to be hidden on mobile, but displayed on larger screens. Using mobile first, the way I’d do it is this:

.secondary {
     display:none;
}

@media screen and (min-width: 480px) {
    .secondary {
        display:block;
    }
}

Would search engines like Google see this element as hidden and discount it or would they see the media query and assume it’s page content?

2

Answers


  1. MobileFirst Platform apps are Mobile apps, thus it’s got nothing to do with Google’s search engine. It’s an app and is rendered locally in your device.

    Your question as-is makes no sense.

    Login or Signup to reply.
  2. Google uses content displayed for desktop to compute mobile rankings. So your text content will be taken into account (more details about Mobile SEO in a summary I maintain).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search