The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Google and responsive content in display:none CSS

    Google and responsive content in display:none CSS

    Technical SEO Issues
    3 3 5.7k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • shloy23-294584
      shloy23-294584 last edited by

      I’m building a WordPress site with Visual Composer and I’ve hit a point where I need to show a totally different section on a mobile compared to a desktop/tablet.

      My issue/question comes from the fact that both mobile and desktop rows will have the same content as well as H1/H2/H3 tags.

      From inspecting the elements I see the mobile only rows are hidden until the page size shrinks through being set to 'display: none' in the CSS (standard visual composer way of handling width & responsiveness)

      How will Google see this in terms of SEO? I don’t want to come across as if I’m cloaking text and H1 tags on the page

      (I have emailed the visual composer support but wanted to get an external opinion)

      1 Reply Last reply Reply Quote 0
      • Highland
        Highland last edited by

        There's nothing wrong with hidden elements as long as they serve some purpose other than to game Google. A hidden div with tons of content that will never be seen by a end user is spam. A hidden div that requires you to click on something to see it is not spam.

        Matt Cutts talked about the issue a couple of years ago

        1 Reply Last reply Reply Quote 2
        • KristinaKledzik
          KristinaKledzik last edited by

          Hi Ashley,

          To clarify, this is just a section of the page, right? The page will still have essentially the same information for both mobile and desktop users, but tailored to their devices? It's fine to remove or change up inconsequential elements of the page. Webmasters have had to do this from the start, for ads, complicated navigation, and other page elements that are helpful on a desktop page but cluttered on a phone screen.

          If this content is the majority of the page, though, and sends a different message, you should probably create a separate page for mobile visitors. If this is the case, let me know and I can follow up with more specific recommendations.

          Good luck!

          Kristina

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Should you use robots.txt for pages within your site which do not have high quality content or are not contributing a great deal so when Google crawls your site the best performing content has a higher chance of being indexed?
            Jacksons_Fencing
            Jacksons_Fencing
            0
            5
            44

          • Google how deal with licensed content when this placed on vendor & client's website too. Will Google penalize the client's site for this ?
            katemorris
            katemorris
            1
            4
            94

          • Title in google organic display
            JaneCopland
            JaneCopland
            0
            9
            146

          • If content is at the bottom of the page but the code is at the top, does Google know that the content is at the bottom?
            vmialik
            vmialik
            0
            2
            132

          • Google inconsistent in display of meta content vs page content?
            KeriMorgret
            KeriMorgret
            0
            6
            443

          • I am Posting an article on my site and another site has asked to use the same article - Is this a duplicate content issue with google if i am the creator of the content and will it penalize our sites - or one more than the other??
            Alex-Harford
            Alex-Harford
            0
            4
            524

          • Content for Google to See
            kadesmith
            kadesmith
            0
            4
            354

          • Different TLD's same content - duplicate content? - And a problem in foreign googles?
            SEO_ACSI
            SEO_ACSI
            0
            3
            1.8k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy