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.
Does show/hide element with javascript impact SEO
- 
					
					
					
					
 Hi I am developing an ecommerce site and want to place text on all category and home page. The challenge is that 300 words of text for the pages does not fit into the design appropriately especially on the home page. If I were to use a show/hide element with javascript would this be seen as spam or a trick to the search engines. I do not think it is spam as it will be actual content for the site and the visitor can view it if they click on the show button. Would love to hear your thoughts? 
- 
					
					
					
					
 Thanks, appreciate your thoughts 
- 
					
					
					
					
 Ennovation and Malcolm are right - search engines will see the entire text, as long as the JS is just being used for show/hide (users without JS enabled will see the same thing). As long as there is an option to show the text (i.e. it's not completely hidden from users), and the text itself isn't keyword-stuffed or spammy, I can't see a reason why search engines would consider it spam. 
- 
					
					
					
					
 Google see the text anyway as it is hard coded into the html, the JS is only used on the front end to show the user so they can hide/show the text. 
- 
					
					
					
					
 You can make with js a expand link or read more.... That will be ok... Search engines will see the entire text where as users will have to click to see the entire text... 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Phone number for SEO
 We have had an interesting question from a client. They have asked if removing their phone number from their website would have an affect on their rankings. Our immediate answer was 'No' but it may affect the Brand, Usability and Customer experience by restricting the methods of contact. This then made us think that perhaps then it could have an effect in the long term. This situation is also complicated by the fact that they do not have a Google Local Plus account for operational, sensitivity reasons (they don't want to openly publicise their address) We believe that there shouldn't be any negative affect but thought we would open a discussion. Thanks in advance for any comments/ideas. On-Page Optimization | | vital_hike0
- 
		
		
		
		
		
		Does Bolding Text Have Any Impact on SEO?
 Someone told me it does but I thought that was old school way of thinking. Any thoughts? On-Page Optimization | | tryfantasy1
- 
		
		
		
		
		
		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/
 Google is now showing menus on select searches. Any idea how they are getting this information? I would like to make sure my clients get visibility this way. On-Page Optimization | | Ron_McCabe0
- 
		
		
		
		
		
		Page Title in Local SEO Title Tags?
 Hi All, Still working on my title tag usage for local SEO, and I was hoping for some more feedback. My question is this: In Local SEO titles, I'm using location + keyword combinations, unique on each page. However, since each page has a specific title for the client, I figure I should be placing that at the front. My thought here was that this helps with the overall usability to the reader of the website. Ex. Contact Us page for Pizza shop Contact Us | Springfield IN Gourmet Pizza | Moe's Italian Pizza Anyone have thoughts on this one? Thank you! On-Page Optimization | | kbaltzell0
- 
		
		
		
		
		
		Disclaimer in footer - is it affecting my SEO?
 For legal reasons I am required to include a 266 word disclaimer in the footer of every page of my credit card comparison site creditcards.com.au. My question is in 2 parts: is this indexable content likely to be hurting my SEO? if so, what is the best way to include the text in the footer but prevent search engines from indexing it? Thanks. On-Page Optimization | | OMGPyrmont0
- 
		
		
		
		
		
		German SEO
 Just a quickie, Does anybody know of any strong German SEO agencies? Many Thanks Sean On-Page Optimization | | Yozzer0
- 
		
		
		
		
		
		Is an Overflow SEO friendly
 Is an "overflow" (scrollbar) seo and Google friendly? I only ask because it hides part of the visible text. On-Page Optimization | | BradBorst0
- 
		
		
		
		
		
		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! On-Page Optimization | | aprilm-1890400
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				