-
I am having an issue in new posts that postdates installation of RankMat and seems to be related. I have a CPT post type and use it for reviews on the site. On recent posts such as this:
https://stellafosse.com/book/all-we-know-of-pleasure/
It seems to be from this code on the page (NB I am NOT a coder and can’t make sense of this):
/*!
* Plugin: Rank Math
* URL: https://rankmath.com/wordpress/plugin/seo-suite/
* Name: rank-math-review-snippet.css
*/#rank-math-rich-snippet-wrapper {
overflow:hidden
}#rank-math-rich-snippet-wrapper h5.rank-math-title {
display: block;
padding: 0;
background: transparent;
letter-spacing: 1px;
text-transform: none;
border: 0;
font-weight: bold;
color: #111111;
font-size: 18px;
line-height:1.4
}#rank-math-rich-snippet-wrapper .rank-math-review-image {
float: right;
max-width: 40%;
margin-left:15px
}#rank-math-rich-snippet-wrapper .rank-math-review-data {
color: #111111;
margin-bottom:15px
}#rank-math-rich-snippet-wrapper .rank-math-total-wrapper {
width: 100%;
padding: 0 0 20px 0;
float: left;
clear: both;
position: relative;
box-sizing:border-box
}#rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-total {
border: 0;
display: block;
margin: 0;
width: auto;
float: left;
text-align: left;
padding: 0;
font-size: 24px;
line-height: 1;
font-weight: 700;
box-sizing: border-box;
overflow:hidden
}#rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-review-star {
float: left;
margin-left: 15px;
position: relative;
z-index: 99;
line-height:1
}#rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-review-star .rank-math-review-result-wrapper {
display: inline-block;
white-space: nowrap;
position: relative;
color:#f4f4f4
}#rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-review-star .rank-math-review-result-wrapper .rank-math-review-result {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
white-space: nowrap;
color:#ffbe01
}#rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-review-star .rank-math-review-result-wrapper i {
font-size: 18px;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: #997200;
font-style: normal;
padding: 0 2px;
line-height:inherit
}body.rtl #rank-math-rich-snippet-wrapper .rank-math-review-image {
float: left;
margin-left: 0;
margin-right:15px
}body.rtl #rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-total {
float:right
}body.rtl #rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-review-star {
float: right;
margin-left: 0;
margin-right:15px
}body.rtl #rank-math-rich-snippet-wrapper .rank-math-total-wrapper .rank-math-review-star .rank-math-review-result {
left: auto;
right:0
}
@media screen and (max-width: 480px) {
#rank-math-rich-snippet-wrapper .rank-math-review-image {
display: block;
max-width: 100%;
width: 100%;
text-align: center;
margin-right:0
}#rank-math-rich-snippet-wrapper .rank-math-review-data {
clear:both
}
}.clear {
clear: both
}I need to find out how to prevent this form happening.
Cheers
The ticket ‘Rankmath inserting snippet into post?’ is closed to new replies.