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. Hiding body copy with a 'read more' drop down option

    Hiding body copy with a 'read more' drop down option

    On-Page / Site Optimization
    26 3 1.0k
    • 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.
    • Dan-Lawrence
      Dan-Lawrence last edited by

      Hi

      I just want to confirm how potentially damaging using java script to hide lots of on page body copy with a 'read more' button is ?

      As per other moz Q&A threads i was told that best not to use Javascript to do this & instead "if you accomplish this with CSS and collapsible/expandable <DIV> tags it's totally fine" so thats what i advised my clients dev.

      However i recently noticed a big drop in rankings aprox 1 weeks after dev changing the body copy format (hiding alot of it behind a 'read more' button) so i asked them to confirm how they did implement it and they said: "done in javascript but on page load the text is defaulting to show" (which is contrary to my instructions)

      So how likely is it that this is causing problems ? since coincides with ranking drop OR if text is defaulting to show it should be ok/not cause probs ?

      And should i request that they redo as originally instructed (css & collapsible divs) asap ?

      All Best

      Dan

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

        Collapsible divs use jquery which is a javascript. I don't think the rankings drop has got anything to do with it, unless there is an error which prevents cralwrs to access the text content. Fetch and render the page in WMT to see if there are problems.

        Dan-Lawrence 2 Replies Last reply Reply Quote 2
        • Dan-Lawrence
          Dan-Lawrence @RafalJ last edited by

          thanks Rafal will do that now

          1 Reply Last reply Reply Quote 0
          • Dan-Lawrence
            Dan-Lawrence @RafalJ last edited by

            ok ive done that but status is saying 'partial' not 'complete' so i take it that means there is an issue ?

            MickEdwards 1 Reply Last reply Reply Quote 0
            • MickEdwards
              MickEdwards @Dan-Lawrence last edited by

              Either switch javascript off in the browser or search cache:www.yoursite and see if you spot any content missing.

              Dan-Lawrence RafalJ 2 Replies Last reply Reply Quote 1
              • RafalJ
                RafalJ last edited by

                click on it and look at the list of issues - are there any javascripts blocked, unreachable etc.? is the preview complete or elements are missing? is render of this particular page (that lost rankings) different to other pages on your website? talk to your web developers about this and get them to fix any issues there. If there are no issues then the reason for your loss of rankings is somewhere else

                Dan-Lawrence 2 Replies Last reply Reply Quote 1
                • Dan-Lawrence
                  Dan-Lawrence @MickEdwards last edited by

                  Thanks Mick i searched cache:www.yoursite (clients hp url) and is showing as it shows usually, with just the first couple of paragraphs then read more button/link.

                  Are you saying when doing above (searching cache etc) it should show all the content as if i had clicked 'read more' button ? and if doesnt then there is an issue ?

                  cheers

                  dan

                  1 Reply Last reply Reply Quote 0
                  • RafalJ
                    RafalJ @MickEdwards last edited by

                    the cache version might still be of the page before they did changes to it Mick

                    MickEdwards 1 Reply Last reply Reply Quote 1
                    • Dan-Lawrence
                      Dan-Lawrence @RafalJ last edited by

                      Thanks Rafa , ok done that and only listed issue is:

                      Googlebot couldn't get all resources for this page. Here's a list:

                      /fonts/glyphicons-halflings-regular.woff

                      so not sure if that refers to actual body copy or just some font style or similar etc etc ?

                      as i mentioned before the status of the fetch is 'partial' though not 'complete' so presume that means an issue, or does that just relate to 'G couldn't get all resources' ?

                      thanks, Dan

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

                        Partial doesn't necesserily means there is a problem. Check this article by Google: https://support.google.com/webmasters/answer/6066472?hl=en

                        If that font is the only thing not loading then it's not a problem for crawlers and it wouldn't have affected you rankings.

                        Btw that link to the font returns 404 error? Why are you loading fonts from a different website in the first place? Have it loaded from your site or from Google.

                        Dan-Lawrence 1 Reply Last reply Reply Quote 1
                        • Dan-Lawrence
                          Dan-Lawrence @RafalJ last edited by

                          Ok thanks Rafa that's good news

                          Rankings must just be just fluctuation or impact of any recent G algo updates since no other changes to site apart from the addition of some exact match anchor text links to product pages & more copy in prod descrips.

                          will see how next ranking report performs and look into further then if more drops or no bounce back

                          Re: 404 your correct how did you know without the domain part of the url ? 🙂  Thanks ill tell dev

                          Really appreciate all your help Rafa !! thanks again !!

                          All Best

                          Dan

                          1 Reply Last reply Reply Quote 0
                          • Dan-Lawrence
                            Dan-Lawrence @RafalJ last edited by

                            Sorry just to confirm ....

                            if the body copy being displayed in GWT under the "This is how Googlebot fetched the page:" does NOT show the text that's revealed after clicking 'read more' button then thats ok since if was a prob would be listed problem such as javascripts blocked etc etc

                            OR

                            it is a problem since Googles not seeing the rest of the body copy ?

                            thanks

                            dan

                            1 Reply Last reply Reply Quote 0
                            • MickEdwards
                              MickEdwards @RafalJ last edited by

                              yes, if the date of the cache is prior.  So I would suggest disabling javascript in the browser reload the page and see if the expected text is displayed.  If not that's what Google misses.

                              ...and yes Google should show all the text in the cache version (text only) if the cached version is subsequent to your amendment.

                              Dan-Lawrence 1 Reply Last reply Reply Quote 2
                              • Dan-Lawrence
                                Dan-Lawrence @MickEdwards last edited by

                                ok have done this now and all normally hidden body copy/content now shows so presume that means G can see it

                                MickEdwards 1 Reply Last reply Reply Quote 0
                                • MickEdwards
                                  MickEdwards @Dan-Lawrence last edited by

                                  You want Settings >> Show Advanced Settings >> (Privacy) Content Settings >> (Javascript) Do not allow any site to run javascript >> Finished.

                                  Reload the site and check what you can see, or open up.

                                  Dan-Lawrence 1 Reply Last reply Reply Quote 1
                                  • Dan-Lawrence
                                    Dan-Lawrence @MickEdwards last edited by

                                    grt thanks Mick

                                    have done this now and all normally hidden body copy/content now shows so presume that means G can see it and i no longer need worry about this 🙂

                                    MickEdwards 1 Reply Last reply Reply Quote 0
                                    • MickEdwards
                                      MickEdwards @Dan-Lawrence last edited by

                                      yep, sound good.

                                      I was working on a site last year and they switched a DNN module based on your scenario without letting me know, having already tested the existing module.  First I saw was when rankings and traffic wobbled.  In this case the text was lost in the javascript and accounted for about 25-30% of content on all their main pages. Nightmare! 🙂

                                      Dan-Lawrence 1 Reply Last reply Reply Quote 1
                                      • Dan-Lawrence
                                        Dan-Lawrence @MickEdwards last edited by

                                        great thanks for the reassurance Mick !

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

                                          Hi Dan,

                                          I have just clicked on the link you provided 🙂

                                          Since the new Penguin is still rolling out and most ranking changes are at the moment down to this algo refresh I would suggest looking at your link profile for a start and if there is nothing wrong there, simply wait a couple of weeks until the refresh has officially finished and take it from there...

                                          Dan-Lawrence 2 Replies Last reply Reply Quote 1
                                          • Dan-Lawrence
                                            Dan-Lawrence @RafalJ last edited by

                                            Ah ha ! i see it included the full url in the link code 🙂

                                            thanks Rafa yes i see similar flux with all my other clients now and none have dodgy links so presume just algorithmic flux, will review in a week or two

                                            all best

                                            dan

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            • Wordpress 'Hide Title' Feature, does this help shorten title length
                                              donsilvernail
                                              donsilvernail
                                              0
                                              3
                                              201

                                            • When Content creation isn't an option...
                                              PatrickDelehanty
                                              PatrickDelehanty
                                              0
                                              4
                                              90

                                            • Content hidden behind a 'read all/more..' etc etc button
                                              Dan-Lawrence
                                              Dan-Lawrence
                                              0
                                              12
                                              5.6k

                                            • Can't figure why ranking dropped after SEO improved.
                                              Chris661
                                              Chris661
                                              0
                                              6
                                              155

                                            • Should I remove 'local' landing pages? Could these be the cause of traffic drop (duplicate content)?
                                              SamCUK
                                              SamCUK
                                              0
                                              11
                                              185

                                            • Hiding body copy with a 'read more' button
                                              Dan-Lawrence
                                              Dan-Lawrence
                                              0
                                              9
                                              141

                                            • Can't see why been marked 'Avoid Keyword Stuffing'
                                              well-its-1-louder
                                              well-its-1-louder
                                              0
                                              7
                                              420

                                            • CMS making body copy mark up faux pais
                                              Highland
                                              Highland
                                              0
                                              3
                                              447

                                            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