Schema Markup adds whitespace
-
We have this white space below our logo when our local schema markup is added: http://d.pr/i/73EmV0
Can the markup be hidden to remove the space and still be indexed by google?
Kevin
-
<scripttype="application ld+json"="">{"@context":"http://schema.org","@type":"LocalBusiness","name":"Heritage Custom Signs & Displays","image":"https://i.imgur.com/NIcoDG6.jpg","@id":"https://www.heritagecustomsigns.com/","url":"https://www.heritagecustomsigns.com","telephone":"1-704-655-1465","address":{"@type":"PostalAddress","streetAddress":"2731 Interstate Street","addressLocality":"Charlotte","addressRegion":"NC","postalCode":"28208","addressCountry":"US"},"geo":{"@type":"GeoCoordinates","latitude":35.23783,"longitude":-80.909208},"openingHoursSpecification":[{"@type":"OpeningHoursSpecification","dayOfWeek":["Monday","Tuesday","Wednesday","Thursday"],"opens":"07:00","closes":"19:00"},{"@type":"OpeningHoursSpecification","dayOfWeek":"Friday","opens":"07:00","closes":"17:00"}],"sameAs":["https://www.facebook.com/heritage.printing/","https://twitter.com/heritagedc/","https://www.youtube.com/channel/UCM4Wi6H6Ks9BoEKahhEb8hw"]}</scripttype="application>
Always use Google's easy tool to check if it's correct :
https://search.google.com/structured-data/testing-tool/u/0/
Droplr https://d.pr/n/kcCofm of code you need to add your logo & price range but you need to swap that out with a copy of the image uploaded to your server you can see where I added a Droplr URL just create a JPEG or PNG of your logo please replace with URL from your server the logo is here too https://i.imgur.com/NIcoDG6.jpg
I added the all your information above, your hours, social media URLs, longitude latitude for geo-coordinates, everything but the pricing which is explained below. you can add by simply putting this in "priceRange": "$$",
GeoCoordinates","latitude":35.23783,"longitude":-80.909208}
time convert Your hours 7:00 am = 7:00 7:00 PM = 19:00 & 5:00 PM = 17:00
time: http://projets.pavie.info/yohours/?oh=Mo-Th 07:00-19:00; Fr 07:00-17:00; Jan 16 off
** why you need to add image and price range **
- https://www.seroundtable.com/google-localbusiness-schema-image-pricerange-23031.html
- https://developers.google.com/search/docs/data-types/local-businesses
- https://yoast.com/local-business-listings/ best example if you ask me.
- https://www.rankya.com/structured-data/examples-for-google-local-business/
Hope this help's
the example below would not move very easily so that's going to be below my signature.
I hope this helps,
Tom
Pricing
to add price range ad price and/or the number of $ from 1 to 3 very pricey $$$ the number of dollar signs indicates your price vs. the competition "priceRange": "$$", Like below.
-
Thanks Tom, yes this does help. Here's the code:
| itemscope itemtype="http://schema.org/LocalBusiness"> |
| | itemprop="name">Heritage Custom Signs & Displays |
| | itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> |
| | itemprop="streetAddress">2731 Interstate Street |
| | itemprop="addressLocality">Charlotte, |
| | itemprop="addressRegion">NC |
| | itemprop="postalCode">28208 |
| | |
| | Phone: itemprop="telephone">704-655-1465 | -
Hey Kevin,
Can you show me code your using for local schema?
if you are using Microdata it is most likely something modifying the code and making the white space.
One thing you can do is switch to JSON-LD it is faster and much easier to deploy. You can also use this tool to re-create your schema and check it with Google Webmaster tools in either format.
https://technicalseo.com/seo-tools/schema-markup-generator/ It even validates with Google.
I hope this helps,
Tom
PS Droper rocks I wish everyone used it.
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
-
Duplicate Schema Syntax
Is having both JSON and Microdata markup on one site detrimental to SEO? I'm unsure if Google would read it as spammy to have both.
Local Website Optimization | | GoogleAlgoServant2 -
Schema medical speciality error
I'm having an issue correctly formatting a medical specialty for a gastroenterologist. The Google structured data tool is giving me the error of "The property specialty is not recognized by Google for an object of type _Physician". _ Any suggestions on how to correctly update the schema code for a physician's specialty? Thanks, Keith LsPc55X iHUW88a
Local Website Optimization | | Keith_Kaiser1 -
Local Business Schema Image requirement
Hello, I work exclusively with Dentists and we have been putting our json schema in the footer for a while now. Just recently they made 'image' a requirement for the Dentist category. We already use the logo in our schema and that is an image. Since the schema is in the footer, it is on every page, and the only image on every page is the logo. Does the image we add to our schema need to be on the actual web page or could it be anything related to the business, like an image of the practice or the dentist? Would it hurt to have the logo listed twice in the schema - once as the logo and once as the image? Trying to figure out what the best thing to do is for the required 'image' field for a dentist. Thanks! Angela
Local Website Optimization | | tntdental0 -
Can I use Schema zip code markup that includes multiple zip codes but no actual address?
The company doesn't have physical locations but offers services in multiple cities and states across the US. We want to develop a better hyperlocal SEO strategy and implement schema but the only address information available is zip codes, names of cities and state. Can we omit the actual street address in the formatting but add multiple zipcodes?
Local Website Optimization | | hristina-m0 -
Schema or Microdata Formatting Creator
Does anyone know of a Schema or Microdata Formatting Creator that you can just put your data into and your Schema or Microdata code will pop out? I am not a coder at all. I want to use it form my local search data so I can just add in all the info and the code will be created. Thanks for the help.
Local Website Optimization | | photoseo10 -
Advice on applying Service Area Schema
So I have client that delivers goods to residential addresses and commercial businesses. They have 60+ distribution centers but want to target surrounding counties, cities and territories. Our development team was considering using virtual location pages (thousands) for these service areas. I have lobbied against this out of concern that Google would label these "doorway" pages. These pages would not have full addresses. I want to develop a strategy to gain coverage in these surrounding delivery areas. I was told that applying https://schema.org/serviceArea might help. However will this truly bring in the necessary visibility? Would having only a few key select virtual locations suffice (along with Service Area schema)? Any advice on applying https://schema.org/serviceArea attributes would be much appreciated.
Local Website Optimization | | RosemaryB
Thanks0 -
Schema training/resources for local SEO?
I am currently in the process of apply schema for dozens of clients (many are large retailers). Although I am not a developer, I do know the basics of schematic markup & structured data. I do work with a development team and I'm trying to provide them with schema application best practices. Obviously there are many good articles/blog posts out there about schema. However I'm looking for a more substantial training course, webinar or resource website about schema application. Does anybody have any good recommendations?
Local Website Optimization | | RosemaryB0 -
Structured Data Schema for Local business
Hi Where should you add ‘local business’ schema, the 'Home Page', ‘About Us’ page, 'Contact Us' page etc etc ? I presume the page with the address such as 'contact us' page but if say the address is on every page say in a footer for example is it ok to add address schema to every page ? I know someone who did this and havn't got any rich snippets out of it so presume best to focus on one primary page such as 'contact' or 'about' type pages ? Also: If your business serves multiple areas can you add schema for the other areas too or is it only for your primary business address ?
Local Website Optimization | | Dan-Lawrence
For example if your business address is listed in say ‘Wandsworth’ but you visit & serve customers in ‘Clapham’, ‘Balham’ & other regions of South West London, anyway of adding local business address structured data to your site for these areas too (to help target local searches including these other regions) Many Thanks
Dan0