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. On-Page / Site Optimization
    4. Google and display:none

    Google and display:none

    On-Page / Site Optimization
    3 3 1.8k
    • 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.
    • xman87
      xman87 last edited by

      Hi Guys,

      i want to know what you think about solution which i have to switch content in tab on my page.

      Here: http://www.exprestlac.sk/beta/produkt/vizitky  i have some important content in tabs, which are switching via javascript.

      So when you click there on O produkte next to Ceny  it will show you product description.

      My problem is that in source code when page is loaded i have this:

      Product description..

      And after user click on O produkte javascript remove that display:none and show content. But Google will see only display:none as i think.

      Can i get penalty from Google? Will it index this text?

      Thanks for your suggestions how to resolve this.

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

        Hi,

        I think its unlikely that you will get a penalty for using display none in this way. Also, Google will index the content from the product description. If you have the Web Dev Toolbar in Firefox, try turning CSS off and look at the page for a basic Googlebot view of the page. You can see that all the 'tabbed' content that is normally hidden is shown. This may also highlight some other issues on the page (hint hint)...

        Cheers

        Aran

        1 Reply Last reply Reply Quote 1
        • Theo-NL
          Theo-NL last edited by

          I agree with Aran, as long as you use the display:none in a legitimate way, Google is unlikely to penaltize you for it. Even if they got as far as manually reviewing your website, they would see you've intended no foul with the display:none.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Ensuring that Google Display my Meta Descriptions
            effectdigital
            effectdigital
            0
            4
            54

          • Google not displaying my page title and meta description
            MichaelC-15022
            MichaelC-15022
            0
            4
            1.7k

          • Any idea how Google is doing this? Is it schematic? http://techcrunch.com/2014/02/28/google-adds-full-restaurant-menus-to-its-search-results-pages/
            Ron_McCabe
            Ron_McCabe
            0
            4
            118

          • Google Doesn't Display A Right Page Title
            Paddy_Moogan
            Paddy_Moogan
            0
            4
            1.2k

          • Why isn't our site being shown on the first page of Google for a query using the exact domain, when its pages are indeed indexed by Google
            featherseo
            featherseo
            0
            3
            144

          • Using display: none in h1 tag
            TME_Digital
            TME_Digital
            0
            6
            393

          • Meta Description not displaying in Google
            KeriMorgret
            KeriMorgret
            0
            3
            408

          • How do websites display product attributes listed with their meta descriptions in Google SEPRs?
            anthonydnelson
            anthonydnelson
            0
            5
            539

          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