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
-
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 -
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 -
Applying NAP Local Schema Markup to a Virtual Location: spamming or not?
I have a client that has multiple virtual locations to show website visitors where they provide delivery services. These are individual pages that include unique phone numbers, zip codes, city & state. However there is no address (this is just a service area). We wanted to apply schematic markup to these landing pages. Our development team successfully applied schema to the phone, state, city, etc. However for just the address property they said VIRTUAL LOCATION. This checked out fine on the Google structured data testing tool. Our question is this; can just having VIRTUAL LOCATION for the address property be construed as spamming? This landing page is providing pertinent information for the end user. However since there is no brick and mortar address I'm trying to determine if having VIRTUAL LOCATION as the value could be frowned upon by Google. Any insight would be very helpful. Thanks
Local Website Optimization | | RosemaryB1 -
Question about schema.org
Hi guys, I have a website that has many local based pages. In other words we're featuring local businesses in many many cities. So my question is, will it help if i add schema markup to each page while each markup will be appropriate to the city each page belongs to? Will it help with ranking those local pages? Thanks
Local Website Optimization | | odmsoft1 -
KML Markup language
I had a question about KML Markup language. Do you know if this is still helpful for local search purposes? Or does it hold little value these days?
Local Website Optimization | | Baptist_Health_Kentucky0 -
Schema for same location on multiple sites - can this be done?
I'm looking to find more information on location/local schema. Are you able to implement schema for one location on multiple different sites? (i.e. - Multiple brands/websites (same parent company) - the brands share the same location and address). Also, is schema still important for local SEO? Thank you in advance for your help!
Local Website Optimization | | EvolveCreative0 -
Schema - Street Address
I'm starting to use schema on a site currently working on the business address in the footer. What is the correct way to use data that has more than one line? So for example the address is something like "Unit 1, Some Farm, Some Street..." Unit 1, Some Farm Some Street or Unit 1, Some Farm
Local Website Optimization | | MickEdwards
Some Street0