undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

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

  1. Home
  2. SEO Tactics
  3. On-Page Optimization
  4. Hiding Page Titles By Display None

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Hiding Page Titles By Display None

On-Page Optimization
3
12
3.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • aprilm-189040
    aprilm-189040 last edited by Mar 19, 2011, 4:55 PM

    Hi. I am new to this community, and new to SEO as well. A friend asked me to give them suggestions on onsite optimization for their Drupal website.

    I know page titles are very important, and usually they should be set to H1. (At least I think) This particular website has all their page titles set to H2 and they are using display:none in their stylesheet to hide them for graphic design reasons.

    What would be the most practical work around for this? We don't want this to appear sketchy in the eyes of the SE's, but putting page titles at the top of their pages really would take away from their graphical design.

    The second issue is that they use a module called Quicktabs for tabbed product specs on each page. Each tab is actually pulled from a post (called a node in Drupal), so each tab has it's own title that is an H2. So not only are they hiding the main page title, but they are hiding 5 others within the tabs, and their are 6 H2 elements showing up on each product page all set to display:none.

    Any creative suggestions?

    Hope that makes sense....

    Thank you!

    1 Reply Last reply Reply Quote 0
    • Getz.pro
      Getz.pro @aprilm-189040 last edited by Mar 19, 2011, 7:31 PM Mar 19, 2011, 7:31 PM

      WOW! Let me just say that again, WOW!

      Yes, I would suggest a Drupal person or perhaps a better template. This one seems out of date as it still uses inline CSS. As Mary Anne mentioned, there are other issues as well.

      Before you try and re-write everything for the H2s, I would look at some other code issues such as the alt tags.

      Personally, I would look for another template after talking to someone who knows Drupal.

      All the best 🙂

      1 Reply Last reply Reply Quote 0
      • aprilm-189040
        aprilm-189040 @MaryAnneG last edited by Mar 19, 2011, 7:28 PM Mar 19, 2011, 7:28 PM

        Thanks Maryanne,

        I will definitely mention those image sizes. They are pretty large.

        I need to get an H1 onto these pages. H1's are important, right?

        In your opinions, what would be the most effective/least harmful method of doing this....for short term until we can figure something better out.....

        1. Set the hidden titles to be H1's instead of H2's?

        or

        1. Manually go into each page and create an H1 using the post WYSIWYG editor? (Using this method, the H1 would come AFTER the H2, but at least it would not be hidden)

        What are your thoughts?

        1 Reply Last reply Reply Quote 0
        • aprilm-189040
          aprilm-189040 @aprilm-189040 last edited by Mar 19, 2011, 7:06 PM Mar 19, 2011, 7:03 PM

          Sheesh...I knew I wasn't losing my marbles when I thought this looked more complicated than normal. This CMS is Drupal.....just FYI, here's what is happening...

          These pages are made in a module (equivalent to a plug in for Wordpress) called Panels. With panels, you can define content areas within your page, kind of like creating

          sections. Eachsection is called a pane. In this case, they pulled in the information they are showing in each pane through another module called Views. So, on the lt3g page, there are 2 different panes above the tabbed section.

          When you create a pane, Drupal asks you for a pane title. The tabs at the bottom are also a module that pulls posts into a tabbed section. Since each post has its own title, each tab shows an H2. In total, there are 10 H2s on this page!!

          And the Analytics code is Google anlaytics installed into a pane. (I don't think they had to install the code onto every page, but they did), and they titled the pane 'Analytics'

          I think this might be a job for a Drupal themer. Maybe that's what I will propose this company look into.

          Also, for the

          | FRS Custom Solutions, which indicates there should be something before the pipe, the <title>tag would go before the pipe, and installing the page_title module would allow you to define that.</p> <p>Usually I hear good things about Drupal, but I think in this case, with the use of panels to make pages, it just complicated things.</p></title>

          1 Reply Last reply Reply Quote 0
          • MaryAnneG
            MaryAnneG last edited by Mar 19, 2011, 6:39 PM Mar 19, 2011, 6:37 PM

            Although the hiding of those headers is a little odd, I doubt you'd get hit for it as the hidden h2's are all consistent with the displayed content - it doesn't look (to me, at least) like anything's being done in a spammy manner.  H2's are a very weak ranking factor to begin with, and It's not like you're keyword stuffing or trying to rank for irrellevant keywords.  Of course, if you can find someone who can tweak things and treat those elements appropriately, all the better.

            Off topic, but you may also suggest to your friend that they optimize their images.  Those image files on the first page you mentioned are very large for the sizes at which they are being displayed and needlessly add to the page load times.

            aprilm-189040 1 Reply Last reply Mar 19, 2011, 7:28 PM Reply Quote 0
            • Getz.pro
              Getz.pro @aprilm-189040 last edited by Mar 19, 2011, 6:35 PM Mar 19, 2011, 6:35 PM

              On the LT3G page, you have these elements that should be headers.

              • ComLink LT<sup>3G</sup>
              • <sup>MEDICARE APPROVED</sup>
              • <sup>ComLink LT<sup>3G</sup> - Product Overview</sup>
              • <sup>With the ComLink LT<sup>3G</sup>, you can:</sup>

              But they are manipulated by in-line CSS. Even though there are H2s with appropriate text for the header?

              Then you have this

              
              ## Products-LT3G Main Image
              
              

              Which would go above your image LT3G-Rtg-Rot-Web.png

              So you are saying you do not need the text atop the image for esthetics. Which is understandable.

              Therefore, why do you not have that H2 tag classed to swap the text for the image? Or can you not manipulate your CMS this way?

              On the Company page I am not sure why the H2 is below the text.

              
              ## Analytics Code
              
              

              And what is the analytics code? : )

              First, and for other reasons than the H2, this CMS is not very good. I feel as though you will continue to have many issues moving forward. Such as page titles. For the company page you have | FRS Custom Solutions which indicates that there should be something before the pipe (|).

              I do not see yet a clear way out of this as the H2s are used for headers in some cases and then for nothing in others such as the analytics code.

              Am I following this correctly, or totally missing the boat here?

              1 Reply Last reply Reply Quote 0
              • aprilm-189040
                aprilm-189040 @aprilm-189040 last edited by Mar 19, 2011, 6:13 PM Mar 19, 2011, 6:12 PM

                No, I have no control over showing it. Drupal forces you to give each page a title.

                http://www.frs-solutions.com/content/comlink-lt3g

                Here is a link to one of the inner pages. This page has an image.  But here is a page with no image: http://www.frs-solutions.com/content/Company

                I am not knowlegable enough with CSS and creating template pages to go about having the title display as an image on some pages, but as text on others.

                1 Reply Last reply Reply Quote 0
                • Getz.pro
                  Getz.pro @aprilm-189040 last edited by Mar 19, 2011, 6:05 PM Mar 19, 2011, 6:05 PM

                  the first question would be why have it at all if you do not want to show it. I presume you have no control over it showing?

                  Then I would ask; in that space, what is showing now and why could you not swap for an image?

                  It might be better for you to post the URL of the site so I can see what you are trying to accomplish.

                  1 Reply Last reply Reply Quote 0
                  • aprilm-189040
                    aprilm-189040 @aprilm-189040 last edited by Mar 19, 2011, 6:01 PM Mar 19, 2011, 6:01 PM

                    Ok. That's what I thought. But I wasn't sure. Do you know, is there any legitimate way to hide a post title (that's forced by the CMS) from both SE's and visitors without using the image swap method?

                    1 Reply Last reply Reply Quote 0
                    • Getz.pro
                      Getz.pro @aprilm-189040 last edited by Mar 19, 2011, 5:55 PM Mar 19, 2011, 5:54 PM

                      Sketchy as it adds no value to the visitor. It just depends on how often SEs look at CSS as to if/when you will get penalized. They might not look at the CSS unless they see other indicators.

                      What you are doing I would consider keyword manipulation, and that is sketchy.

                      Always look at the value of what you do with respect to visitors. If it adds no value, don't do it.

                      I hope that helps

                      1 Reply Last reply Reply Quote 0
                      • aprilm-189040
                        aprilm-189040 @Getz.pro last edited by Mar 19, 2011, 5:54 PM Mar 19, 2011, 5:50 PM

                        Hi Richard,

                        Thanks for your response. Sorry if I was unclear...I am referring to the titles of the post. Not the <title>tag.  Drupal forces you to give each post a title. And yes, the post titles are set to display as H2's, but the H2's in the stylesheet are set to display:none like this:</p> <div class="cssHead focusRow "><span class="cssSelector ">h2</span> {</div> <div class=" "> <div class="cssPropertyListBox "> <div class="cssProp focusRow editGroup "><span class=" ">    </span><span class="cssPropName editable ">color</span><span class="cssColon ">: </span><span class="cssPropValue editable ">#595959</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class=" ">    </span><span class="cssPropName editable ">display</span><span class="cssColon ">: </span><span class="cssPropValue editable ">none</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class=" ">    </span><span class="cssPropName editable ">font-size</span><span class="cssColon ">: </span><span class="cssPropValue editable ">22px</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class=" ">    </span><span class="cssPropName editable ">margin</span><span class="cssColon ">: </span><span class="cssPropValue editable ">0.8em 0</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class="cssSemi "><br /></span></div> <div class="cssProp focusRow editGroup "><span class="cssSemi ">There is no image swapping or text indent. So, search engines CAN see the H2, but visitors can't. Would this be considered sketchy or creative CSS?</span></div> <div class="cssProp focusRow editGroup "></div> <div class="cssProp focusRow editGroup "><span class="cssSemi ">And no, they are not in order... H2 obviously comes first on the page, followed by an H1 element if it's manually inserted onto the page.<br /></span></div> </div> </div></title>

                        Getz.pro aprilm-189040 7 Replies Last reply Mar 19, 2011, 7:31 PM Reply Quote 0
                        • Getz.pro
                          Getz.pro last edited by Mar 19, 2011, 5:44 PM Mar 19, 2011, 5:41 PM

                          Hi April,

                          Headers and Titles are different, so are you saying that Drupal pulls the title from the H2? If so, are you swapping out the text for an image, or just moving the text off the screen?

                          It is not uncommon to move text off the screen and swap that placeholder with an image, although it would look a bit sketchy to just move the text out of sight.

                          [Without direct knowledge] I don't believe Google is penalizing for creative CSS work unless they spot sketchy behavior such as moving lots of text out of view, which they would see as adding no value to the visitor, but would see it as keyword manipulation.

                          When you swap for an image, you have to define a size for the image space. This would indicate to the SEs that you are in fact moving text and swapping for an image of a certain size.

                          Sketchy would look like text indent of -9999px with no width or height size or with a very small width or height size of perhaps a couple pixels. Or not even indicating an background image for the div.

                          In short, if you are swapping text for an image, you are fine and this is common practice as long as SEs can see that this is for visual enhancements rather than keyword manipulation.

                          I would not worry as much about which headers are used as long as they are used in order. Such as H1s followed by H2s followed by H3s followed by H4s. Not H2s then a H3 then H1. Not that this would penalize you, but it is best practice.

                          I hope this answered your question

                          aprilm-189040 1 Reply Last reply Mar 19, 2011, 5:50 PM Reply Quote 0
                          • 1 / 1
                          1 out of 12
                          • First post
                            1/12
                            Last post

                          Got a burning SEO question?

                          Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                          Start my free trial


                          Browse Questions

                          Explore more categories

                          • Moz Tools

                            Chat with the community about the Moz tools.

                          • SEO Tactics

                            Discuss the SEO process with fellow marketers

                          • Community

                            Discuss industry events, jobs, and news!

                          • Digital Marketing

                            Chat about tactics outside of SEO

                          • Research & Trends

                            Dive into research and trends in the search industry.

                          • Support

                            Connect on product support and feature requests.

                          • See all categories

                          Related Questions

                          • JohnW-UK

                            Page Title (Meta descriptions) length... how strict are you?

                            I have just had a conversation with a client... the gist was this... Is it more important to stay under the 55-60 characters OR go over a bit and have the page title make sense and include the clients company name. The same argument for meta description. I have a client insisting on 55-60 length but the keywords are long and if we use the primary keyword phrase the length is 44 if we use the keyword phrase and add the company name it becomes 64. This is with us trimming it a bit. Anyone else discussed this before?

                            On-Page Optimization | Jul 31, 2015, 4:00 PM | JohnW-UK
                            1
                          • ahyde

                            Duplicate page titles and hreflang tags

                            Moz is flagging a lot of pages on our site which have duplicate page titles. 99% of these are international pages which hreflang tags in the sitemap. Do I need to worry about this? I assumed that it wasn't an issue given the use of hreflang. And if that's the case, why is Moz flagging them as an issue? Thanks.

                            On-Page Optimization | May 14, 2015, 8:41 AM | ahyde
                            0
                          • tprg

                            Home page and category page target same keyword

                            Hi there, Several of our websites have a common problem - our main target keyword for the homepage is also the name of a product category we have within the website. There are seemingly two solutions to this problem, both of which not ideal: Do not target the keyword with the homepage. However, the homepage has the most authority and is our best shot at getting ranked for the main keyword. Reword and "de-optimise" the category page, so it doesn't target the keyword. This doesn't work well from UX point of view as the category needs to describe what it is and enable visitors to navigate to it. Anybody else gone through a similar conundrum? How did you end up going about it? Thanks Julian

                            On-Page Optimization | Mar 20, 2014, 12:39 PM | tprg
                            0
                          • HrishikeshKarov

                            Home page or landing page?

                            Hello, I want to ask a question related to that - Should we put keywords in the home page title if we wish to position another landing page better for particular keywords? I have read in one website about SEO that it's good the main keywords of your website to be positioned in homepage title also. f.e. Let's say we have website about web-design and our company is named Company Ltd. The title of the home page is "Company Ltd.  - Web design, SEO, etc" We have also another inner page named "Web design | Company Ltd.". So should we leave the first page name only "Company Ltd." and the landing page's name "Web design | Company Ltd." . I don't know if they both have the same keyword in their title they won't compete with each other.

                            On-Page Optimization | Apr 5, 2013, 11:02 AM | HrishikeshKarov
                            0
                          • jannkuzel

                            Title and Heading Tags

                            Firstly I would like to comment on how helpful this site is. I haven't posted much before but have been reading tonnes of answers for many months now and have been finding it really useful. I used the SEOmoz scanner and the main problem highlighted was duplicate content so I started to add 'customer product reviews' I had received and unique 'further information' to each page (hopefully this was the right thing to do to solve duplicate content! : ) ) Then I looked at heading and title tags. Currently I set title tags for each product page to be "Brand Name- Product Name" but after doing some research we are thinking of putting Keyword Description of Product | Product Name | Brand Name (around 60 characters long). So is this the advised thing to do and create unique titles that are relevant to each specific product page for over 200 pages we have? In addition, any advice on setting optimum tags would be great. We keep reading varying tips online. I gather ideally h1 needs to be a shorter keyword rich version of the title tag? Many Thanks

                            On-Page Optimization | Nov 2, 2011, 3:09 PM | jannkuzel
                            0
                          • MichaelWeisbaum

                            Page title getting cut off in SERPS even though it's under 70 characters?

                            I re-wrote the page title of a home page for a site I'm working on and made sure it's under 70 characters (68 to be exact) to comply with best practices and make sure it doesn't get cut-off in the SERPS.  It's still getting cut-off though and right when it gets to the brand/website name.  Does a "-" have anything to do with it?  Does that translate to an elipsis? Format: keywords - website/brand.com Can anybody tell me why this would be happening?

                            On-Page Optimization | Sep 15, 2011, 1:16 PM | MichaelWeisbaum
                            0
                          • MikeDelaCruz77

                            E-Commerce product pages that have multiple skus with unique pages.

                            Hey Guys, With the recent farm/panda update from google i'm at a cross roads as to how I should optimize product pages for a project i'm working on for a client. My client sells tires and one particular tire brand can have up to 15 models and each model can have up to 30 sizes. IE: 'Michelin Pilot Sport Cup' comes in 15 different sizes. Each size will have it's unique product page and description bringing me to my question. Should I use the same description on every size? I do plan on writting unique content for each tire model however i'm not sure if I should do it for every size. After all the tire model description is the same for every size, each size doesn't carry any unique characteristics that I can describe. Thanks in advance!

                            On-Page Optimization | Aug 29, 2011, 3:05 PM | MikeDelaCruz77
                            0
                          • smaavie

                            Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?

                            We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
                            Cooking Method (fry, bake, boil, steam, etc)
                            Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
                            find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
                            find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards

                            On-Page Optimization | Jun 2, 2013, 5:08 PM | smaavie
                            5

                          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
                          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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                          • Accessibility
                          • Terms of Use
                          • Privacy

                          Looks like your connection to Moz was lost, please wait while we try to reconnect.