The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Local Website Optimization
    4. Schema Markup adds whitespace

    Schema Markup adds whitespace

    Local Website Optimization
    4 2 200
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KevnJr
      KevnJr last edited by

      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

      1 Reply Last reply Reply Quote 1
      • BlueprintMarketing
        BlueprintMarketing last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • KevnJr
          KevnJr last edited by

          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 |

          BlueprintMarketing 1 Reply Last reply Reply Quote 1
          • BlueprintMarketing
            BlueprintMarketing @KevnJr last edited by

            <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.

            NIcoDG6.jpg

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Duplicate Schema Syntax
              GoogleAlgoServant
              GoogleAlgoServant
              2
              5
              102

            • Wordpress Blog, Schema and Authorship Settings
              Smileworks_Liverpool
              Smileworks_Liverpool
              0
              3
              81

            • Schema or Microdata Formatting Creator
              LoganRay
              LoganRay
              0
              6
              91

            • Advice on applying Service Area Schema
              MiriamEllis
              MiriamEllis
              0
              2
              130

            • On what pages of my site should I put schema.org structured markup for an Aggregate Review of a Concrete Construction Contractors work?
              bdiddy
              bdiddy
              0
              2
              965

            • Schema markup for a local directory listing and Web Site name
              HeaHea
              HeaHea
              0
              3
              3.8k

            • Schema - Street Address
              justin-brock
              justin-brock
              0
              4
              759

            • Local Business Schema Markup on every page?
              mmmeans
              mmmeans
              0
              6
              8.5k

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy