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
-
Unsolved Duplicate LocalBusiness Schema Markup
Hello! I've been having a hard time finding an answer to this specific question so I figured I'd drop it here. I always add custom LocalBusiness markup to clients' homepages, but sometimes the client's website provider will include their own automated LocalBusiness markup. The codes I create often include more information. Assuming the website provider is unwilling to remove their markup, is it a bad idea to include my code as well? It seems like it could potentially be read as spammy by Google. Do the pros of having more detailed markup outweigh that potential negative impact?
Local Website Optimization | | GoogleAlgoServant0 -
Can I have multiple GeoShape Schema for one page on one domain?
Hi Mozers, I'm working on some Schema for a client of mine, but whilst doing the research on GeoShapes with my developer, we came across a potential issue with this particular mark-up. My client is B2C business, operating in numerous places across the UK. I want to use the Circle property from GeoShape to draw out multiple circles across the UK, but am I able to do this? From looking at some other websites, most seem to just have one GeoShape. Can I have multiple on the same page and same domain? Thanks! Virginia
Local Website Optimization | | Virginia-Girtz0 -
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 -
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 -
On what pages of my site should I put schema.org structured markup for an Aggregate Review of a Concrete Construction Contractors work?
I have a concrete contractor that I do a site for. He has many reviews from Home Advisor. So I created a Structured Data Markup using HTML5\. I put the the AggregateReview near the bottom of the About Us page at [http://www.skv-construction.com/about-us.html](http://www.skv-construction.com/about-us.html). Question 1: Should I also put the AggregateReview on the home page, or on specific project pages. Question 2: How will Google use the data now if the About page is NOT searched or displayed in SERPs. Does Google display this markup when and where they want to? Question 3: Siince this is a Local Business, should I embed the AggregateReview within the LocalSearch tag. I passed the Google test as it is for the Aggregate Review! But I have the review wrapped in the HomeAndConstructionBusiness tag. Here is the code: "http://schema.org/HomeAndConstructionBusiness"> # Quality Workmanship w 50 Yrs Experience "http://schema.org/AggregateRating"> 4.37 stars-based on 54 reviews at ["http://www.homeadvisor.com/rated.SKVConstruction.18028291.html"](<a) target="_blank">Home Advisor "http://schema.org/PostalAddress"> 10005 Fair Lane <spam itemprop="addresslocality" union=""></spam> IL 60180 (847) 364 0161 ["http://www.skv-construction.com/contact-us.html"](<a)>Contact Us Price Range: All Jobs Custom; Call for Quote or Visit Web Site Would appreciate any help. This markup is so vague, I can see why few people are using it. Maybe you should do a Video training or extended training on how to's. Vernon Wanner 815-332-8062
Local Website Optimization | | VernonWanner0 -
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 -
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