Why does Schema Appear on the Live Site

#164118
  • Resolved Patrick Archer
    Rank Math free

    I just upgraded to the latest version of RankMath and now my Schema language is visible on the homepage of my site. This was never the case in the old version of RankMath. Can you please tell me how to remove this? The following text should not be on the live site…

    FLAVIP | Buying and Selling a Business in Florida
    FLAVIP is a Sunbelt South Florida website with information and resources for anyone interested in buying a business in Florida or selling a business in Florida.

    Service Type: Florida business broker

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    The preview of your schema is added in accordance with the Google guidelines which suggest that a webmaster should show the schema to the users as well as to the bots. If you show it to just the bots, you run the risk of getting removed from the rich snippets program. That is the reason it is being added to the frontend.

    Although we do not recommend removing it from the frontend – Rank Math allows you to take full control of your SEO. You can use this filter to remove the Review Display from the frontend.
    https://rankmath.com/kb/filters-hooks-api-developer/#disable-review-display

    Alternatively, you can remove the displayed schema by using custom CSS:
    #rank-math-rich-snippet-wrapper {display: none;}

    I hope that helps. Thank you, and looking forward to your update.

    Thanks for the great explanation, Reinelle.

    Is there a way to edit the appearance of the Schema if I choose to keep it on the page. I am specifically asking about the font style, size and page alignment.

    Thanks again

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply!

    You can use Custom CSS to change the styling of the Schema displayed on the page.

    Let’s say you want to change the font-size:

    #rank-math-rich-snippet-wrapper h5{
        font-size: 20px;
    }
    #rank-math-rich-snippet-wrapper p{
        font-size: 18px;
    }
    

    You can use the Review Location option in your Schema Editor to change the position of Schema on your page. https://i.rankmath.com/vyo1xa

    If it helps, you can follow this article to add Custom CSS:
    https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/

    Hope this helps!

    Thanks!

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Why does Schema Appear on the Live Site’ is closed to new replies.