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. Intermediate & Advanced SEO
    4. Mircodata markup container in body of page

    Mircodata markup container in body of page

    Intermediate & Advanced SEO
    6 3 560
    • 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.
    • ThridHour
      ThridHour last edited by

      I have a question about the "container" that's created whenever microdata markup is applied. What is the purpose of this? I know Google says it helps them understand your content etc. but it creates a really bad eyesore wherever microdata markup is used. Basically a box with all the markup details right there in the body. Has anyone else experienced this? Is this why microdata markup has been so slow to be adopted by webmasters? I understand "hiding" the box in your CSS is not a good idea either. Any help would be appreciated. Thanks

      1 Reply Last reply Reply Quote 0
      • LesleyPaone
        LesleyPaone last edited by

        I am pretty sure you are doing it wrong. Can you link me? The markup should all be hidden normally, it is used as a way to describe elements that are on the page already, not for adding new elements.

        ThridHour 1 Reply Last reply Reply Quote 0
        • ThridHour
          ThridHour @LesleyPaone last edited by

          The site is in Wordpress and I've been using a plugin called all in one schema.org rich snippets and schema creator by raven tools.

          • As you can see it creates quite the eye sore especially if you were to start marking up a lot of stuff. Here is an example:

          http://historyofmormonism.com/2014/03/26/hawns-mill-massacre-1838-resulted-30-mormon-casualties/

          • Schema creator by raven tools lets you add markup right into the body of the page like you will see about a paragraph down. I "marked up" the person Alex Baugh just for an example. You will notice the container it creates right inside the article.

          • If you scroll down to the bottom you'll notice a larger summary box, this is created by the other plugin; all in one schema.org rich snippets that marks up and creates a summary of the overall webpage.

          • If you look at the support forums for this plugin here: http://wordpress.org/support/topic/all-the-info-i-fill-goes-directly-into-my-post?replies=5#post-4030332

          • One of the authors of the plugin mentions that this box is necessary and includes a link to Google Webmaster forums backing it up, the 4th question down here:

          https://sites.google.com/site/webmasterhelpforum/en/faq-rich-snippets#display

          • I also thought that maybe it was only this one plugin; all in one schema.org rich snippets but this other plugin from Raven Tools does the same thing. These two plugins are also two of the most popular schema microdata plugins on Wordpress.

          • This person has a similar question about the raven tools plugin

          https://github.com/raventools/schema-creator/issues/104Thanks for your replies, I really appreciate it.

          1 Reply Last reply Reply Quote 0
          • ThridHour
            ThridHour last edited by

            Does anyone else have insight on this?

            1 Reply Last reply Reply Quote 0
            • Everett
              Everett last edited by

              Hello,

              The plugin creates a new CSS file, which you can access and control to make the data appear any way you like:
              http://historyofmormonism.com/wp-content/plugins/schema-creator/lib/css/schema-style.css?ver=1.050

              Yes, the data that you are marking up needs to appear on the page, but you can mark up existing data instead of using a plugin that adds new data to the page. Or you can use the plugin to add the data to the page and customize the look by adjusting the CSS file.

              My advice would be to learn how to add the markup yourself so you can just apply it to whatever it is on the page that you're trying to mark-up instead of relying on the plugin. This way you don't get the ugly box. It isn't that difficult if you can already do basic HTML. For example:

              Here is what the plugin is doing:

              Alex Baugh
              Brigham Young University
              Professor

              The Div ID for "Schema_block" is what is creating that container. In the CSS file I linked to above it reads as follows (bolding is mine):

              #schema_block {
                  clear:both;
                  margin:0 auto 10px auto;
                 ** background: #EEEEEE;**
              **    border: 1px solid #CCCCCC;**
                  padding: 1em;
                  overflow: hidden;
              }

              You can make that look like whatever you want it to look like. For instance, you could completely remove the margin, background, border and padding. It's not the "box" that Google needs to see, it's the content (e.g. Alex Baugh, Brigham Young University, Professor) on the page and the markup in the code that surrounds it.

              I hope this clarifies the issue for you. A good designer/developer should be able to provide further assistance if you are not comfortable editing code or CSS files.

              ThridHour 1 Reply Last reply Reply Quote 1
              • ThridHour
                ThridHour @Everett last edited by

                Thank you very much. That is just what I was looking for.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Multiple Markups on The Same Page - Best Solution?
                  Leowa
                  Leowa
                  0
                  9
                  125

                • JSON-LD schema markup for a category landing page
                  0
                  1
                  982

                • Pillar pages and blog pages
                  seoanalytics
                  seoanalytics
                  0
                  5
                  481

                • When do you use article markup for AMP pages?
                  bridget.randolph
                  bridget.randolph
                  0
                  2
                  137

                • Links / Top Pages by Page Authority ==> pages shouldnt be there
                  Neckermann
                  Neckermann
                  0
                  5
                  120

                • Importance of minimal markup on a page
                  Cyrus-Shepard
                  Cyrus-Shepard
                  0
                  4
                  326

                • Home Page or Internal Page
                  DougRoberts
                  DougRoberts
                  0
                  3
                  131

                • What keywords should my main page contain ?
                  tryads
                  tryads
                  0
                  3
                  167

                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