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
          • If Product Pages Perform Well In Google then Is It Possible That Category Page Can perform Well In Google?
            badgergravling
            badgergravling
            0
            2
            52

          • OMG! does Google really consider text-decoration:none as a hidden link?
            cbielich
            cbielich
            0
            3
            168

          • Google Stopped Displaying Rich Snippets Stars
            Carson-Ward
            Carson-Ward
            0
            4
            737

          • How can I make google display rich snippets when searching for my domain?
            WilliamCarr
            WilliamCarr
            0
            2
            119

          • Only homepage in Google
            irvingw
            irvingw
            0
            2
            81

          • We have 5 postions on page 2 in a google search, but none on page 1\. How can we fix this?
            DavidKonigsberg
            DavidKonigsberg
            0
            8
            247

          • Hiding Page Titles By Display None
            Getz.pro
            Getz.pro
            0
            12
            2.1k

          • Has anyone noticed a big delta between Google and Bing rankings? For example, we rank favorably in Google, but not so favorably in Bing. Are there different tactics I should use to rank better in Bing?
            Andy.Drinkwater
            Andy.Drinkwater
            0
            2
            949

          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