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
-
How does Google read multiple Geo Shape Schema Mark Up?
Hi Guys, I posted a question recently about "Can I have multiple areaServed mark up on one domain?" and the responses I got was no. My client work predominantly in the South East of England in specific towns, so I wanted to be able to list all the areas they service. However, after being told no, I went ahead anyway and put in multiple areaServed markup on the page to see if this generates any errors and it isn't when I run it through the Structured Data Testing Tool. I don't get any errors by doing this, so hurray! But... What I want to understand (which I can't find the answer anywhere), is if this is okay, and how will Google read my markup? Will Google see that we are in multiple areas across the SE of England and push my content up before other sites, or is this just going to confused Google? By putting in all these areas into the website as multiple locations, will Google identify that person X in area Y fits the areaServed mark up I've added and push my content to them? Overall... has anyone else used multiple areaServed markup and can validate that this works? hHpEyQf
Local Website Optimization | | Virginia-Girtz1 -
Wordpress Blog, Schema and Authorship Settings
Hi Everyone, What is the best practice for authorship in 2018 and going forward? I am moving my entire blog over to a new wordpress theme so it's easier to read and navigate in an attempt to make it look better on the mobile and give better UX / CRO and implicit user feedback signals to google. On the old blog I would say who the author is in the URL, H1 and in the content. This includes an image of the author with an image alt with their name, qualifications and blurb. I've now set up each author as a 'user' for the new blog and their image and name comes up because I've marked those blogs as authored by that particular user in Wordpress. What should I do as far as the SEO elements are concerned? I have read Eric Enge's blog about authorship being dead here and also that authorship should be marked up in schema correctly - which I've done. Also I've read around how it provides indirect signals even though it's no longer a direct ranking factor. Should I tell wordpress to ignore the authorship SEO element by unticking the boxes relating to publishing authorship or let wordpress just do it's thing? Should I keep the images and alt tags and H1 in there or take them out and let the wordpress system take over the authorship SEO elements? It's going to look funny to have author (in wordpress theme) and then author details again just below? So what is the best practice for authorship in 2018 and going forward? Am I making too big a deal of it and can just let wordpress sort it out. Something it seems to do very well? Thanks in advance, Ed.
Local Website Optimization | | Smileworks_Liverpool0 -
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 -
Areaserved json-ld schema markup for a local business that targets national tourism
If there is a local business that thrives on ranking nationally for people searching for their services in that location, do you target the business's actual service areas or target nationally? For instance, a hotel in Denver, Colorado. Would the areaserved markup be: "areaServed":[{"@type":"State","name":"Colorado"},{"@type":"City","name":"Denver"}] Or "areaserved":"USA" The "geographic area where a service or offered item is provided" would be denver, colorado. But we would be looking to target all people nationally looking to travel to denver, colorado. Or would it be best to target it all, like: "areaServed":[{"@type":"State","name":"Colorado"},{"@type":"City","name":"Denver"},"USA"]
Local Website Optimization | | SEOdub0 -
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 -
Will NAP Schema Impact non local searches
Hi, Just got a business address and a toll free number for my website. I have read that adding the NAP details schema to the site gives that additional weight of trust to Google and also helps local search. Now my website is NOT local. However, if I add my LA address details on my website using the Local Business schema.org, it might give Google the impression that I am based out of CA. Fair enough, but my question is, will it impact negatively for SERPs from other states. For example I might want to rank for KW "Autism Alternative Treatment". Obviously now that I have added my NAP, if someone keys in Autism Alternative Treatment LA or Autism Alternative Treatment CA, google should give my site preference. But if someone searched Autism Alternative Treatment Arizona, will google exclude/downgrade me (even though there may not be a local site for Arizona) from the search results under the pretext that I am not Arizona based? Your suggestion would be very helpful.
Local Website Optimization | | DealWithAutism0 -
Does Schema Replace Conventional NAP in local SEO?
Hello Everyone, My question is in regards to Schema and whether the it replaces the need for the conventional structured data NAP configuration. Because you have the ability to specifically call out variables (such as Name, URL, Address, Phone number ect.) is it still necessary to keep the NAP form-factor that has historically been required for local SEO? Logically it makes sense that schema would allow someone to reverse this order and still achieve the same result, however I have yet to find any conclusive evidence of this being the case. Thanks, and I look forward to what the community has to say on this matter.
Local Website Optimization | | toddmumford0