• Resolved theguitarlesson

    (@theguitarlesson)


    Hello, in the block generated by the Product Review Schema, I would want to hide the SKU and availability.

    But it is not targetable with CSS, since they are just <p> paragraphs withing the rank-math-review-data div.

    Please add classes to these <p>’s as well, so we can style them.

    Thanks

    Tom

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @theguitarlesson,

    Thank you for contacting the support.

    We can check that the SKU and availability are no longer visible in the review data: https://i.rankmath.com/i/dKNBOn

    It seems like you were able to figure this out.

    Please don’t hesitate to get in touch in case you need our assistance with this or anything else.

    Thread Starter theguitarlesson

    (@theguitarlesson)

    Hello, I did find a CSS method for this, but it is not exactly, but it is not great at all.

    Please do add CSS classes for the output of the product Schema, it would be of immense help in customizing the otherwise plain look of it.

    Thank you very much!

    Tom

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @theguitarlesson,

    The shortcode snippet for the Schema markup is wrapped in an element with a class from our plugin called “rank-math-review-data”.

    You can target that and any child of that using CSS to change the styling or forcefully remove any content from that.

    Don’t hesitate to get in touch if you have any other questions.

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

The topic ‘Missing Review Schema CSS Targeting Classes’ is closed to new replies.