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.
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
-
Has Anyone Successfully implemented SpecialAnnouncement Schema?
Hello, I'm in the process of updating my clients' websites with the SpecialAnnouncement Schema type, and I'm wondering if anyone has successfully done so yet, and whether or not they're seeing any kind of results /richsnippets directly in SERPs from it? Also, has anyone else run into issues checking their schema with Google's Structured Data Testing Tool? Sometimes I get an error saying "specialAnnouncement is not a type known to Google," and sometimes I get one saying that "the property datePosted is not recognized by Google for an object of type SpecialAnnouncement." I assume these errors are because the schema type is so new, but you know what happens when you assume... Thank you for any insights!
Local Website Optimization | | LocalSEOLady0 -
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 -
Listing multiple schema Things (e.g. Organization, LocalBusiness, Telephone, Locations, Place, etc)
Greetings All, My law office features many pages with what are essentially directory listings (names, addresses, and phone numbers of places, agencies, organizations that clients might find helpful). Am I correct in assuming that using schema for each of these listings might cause confusion for search engines? In other words, are search engines looking for schema on pages or sites to tell them only about the company running that page or site, or do search engines appreciate schema markup to tell them about all the pieces of content on the pages or that site?
Local Website Optimization | | micromano0 -
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 -
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 -
What's the best way to add phrase keywords to the URL?
Hi, Our keywords are all our service + a list of towns (for example, "carpet cleaning St. Louis"). The issue I'm having is that one particular site could be targeting "carpet cleaning St. Louis", "carpet cleaning Manchester", "carpet cleaning Ballwin", "carpet cleaning Kirkwood", etc. etc. etc... up to maybe 15 different towns. Is there a way to effectively add these keywords into the URL without making it look spammy? I'm having the same issue with adding the exact keywords to the page title, img alt tag, etc. Thanks for any advice/input!
Local Website Optimization | | nataliefwc0 -
Local Business Schema Markup on every page?
Hello, I have two questions..if someone could shed some light on the topic, I would be so very grateful! 1. I am still making my way through how schema is employed, and as I can tell, it is much more specific (and therefore relevant) in its details than using the data highlighter tool. Is this true? 2. Most of my clients' sites have a footer with the local business info included on every page of their site (address and phone). This said, I have been using the structured data markup helper to add local business schema to home page, and then including the footer markup in the footer file so that every page benefits from the local business markup. Is this incorrect to use it for every page? Also, I noticed that by just using the footer markup for the rest of the pages in the site, I am missing data that was included when I manually went through the index page (i.e. image, url, name of business). Could someone tell me if it is advisable and worth it to manually markup every page for the local business schema or if that should just be used for certain pages such as location, contact us, and/or index? Any tips or help would be greatly appreciated!!! Thanks
Local Website Optimization | | lfrazer0