Hiding Page Titles By Display None
-
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!
-
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
-
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.....
- Set the hidden titles to be H1's instead of H2's?
or
- 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?
-
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>
-
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.
-
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?
-
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.
-
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.
-
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?
-
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
-
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>
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Losing Page Rank
Hello Moz I launched a re-design of our site over the summer and we jumped in organic search for some keywords. Recently one of our landing pages is being hammered by Google last we we lost one position this week we lost 5 positions. Although, when I check the on-page grade Moz gives it an A is there a check sheet anyone has that I could go through to see if I have any common problems. Ryan
On-Page Optimization | | ryanparrish0 -
Titles
Our site http://villasdini.com is offering beach villas on sunny Diani beach in Kenya. I have a category with beach villas in Diani beach which I want to be shown in serp if somebody search for Diani beach villas, or Diani beach hotels, Diani beach accommodation etc. I have also category with small boutique hotels, which I want to be shown in serp if somebody search for Diani beach villas, or Diani beach hotels, Diani beach accommodation etc. Should I also include Diani beach in titles? Will that not be too much of Diani bech in titles? I am afraid I have anyway already too much of "Diani beach" keyword and perhaps I am even punished for it as I can't rank for this keyword at all almost a year:-( I also want to rank on Diani beach itself and I have created Diani beach page which I want to be shown in serp when somebody search for Diani beach. I am kind of getting crazy of this:-( Any advice what I am doing wrong and what strategy I should rather do? Thank you very much, Iris
On-Page Optimization | | Rebeca10 -
Prices in title tag
At our ecommerce site adwords ads generally perform a lot better when the product price is included in the ad title. Does anyone here have any experience and data on CTR with including product prices in title tags of product / category pages?
On-Page Optimization | | ese0 -
Dynamic pages on a static html pages websiite
Good evening everybody. I am new on SeoMoz that I find very helpful in my work. I am not a web developer so please excuse me if my technical language is poor.I have an issue that maybe you can help me to solve. I work for a company who has a website, which is old and very well positioned on google for the most important keywords for the field of the company I work for (dentistry). It is a website made some years ago and it's made of static html pages.I would like to add a section in my website where I can post articles, like a blog (I think of a wordpress-style website) with daily posts (so with a dynamic page). Is there a way to do this without modifying the structure of the website and without losing pages, urls and ranking? We're on the first google page for many keywords of interests in our city and it would be a great damage for us to lose those positions.Thank you very much!
On-Page Optimization | | adec0 -
Is reported duplication on the pages or their canonical pages?
There are several sections getting flagged for duplication on one of our sites: http://mysite.com/section-1/?something=X&confirmed=true
On-Page Optimization | | Safelincs
http://mysite.com/section-2/?something=X&confirmed=true
http://mysite.com/section-3/?something=X&confirmed=true Each of the above are showing as having duplicates of the other sections. Indeed, these pages are exactly the same (it's just an SMS confirmation page you enter your code in), however, they all have canonical links back to the section (without the query string), i.e. section-1, section-2 and section-3 respectively. These three sections have unique content and aren't flagged up for duplications themselves, so my questions are: Are the pages with the query strings the duplicates, and if so why are the canonical links being ignored? or Are the canonical pages without the query strings the duplicates, and if so why don't they appear as URLs in their own right in the duplicate content report? I am guessing it's the former, but I can't figure out why it would ignore the canonical links. Any ideas? Thanks0 -
Page title changes based on results per page
I have a product listing that allows customers to set a results per page option. This ads a GET variable to the URL. I've added the page number to the title of this page if they go past the first page. If this results per page variable is added to the URL then google see it as a different page. Do I need to change the page title for this?
On-Page Optimization | | BedInABox.com0 -
Title Tag Length
Is there a search engine that reads a title tag longer than 70 characters? What is the harm in writing a title tag longer than 70 characters?
On-Page Optimization | | rarbel0 -
Spammy keywords on a page
My client's website has a box of text on each page that is spammy and horrible to read and stuffed with keywords. The text boxes are there only for search engines as they mean nothing to humans. I say remove them as it must be doing more harm than good. However, my client is scared to remove them as the text has been there on each page for ten years and he is worried about a drop in visitor numbers if they are removed. Is he right to be worried?
On-Page Optimization | | mascotmike0