
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:
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/seosuite/
* Name: rankmathreviewsnippet.css
*/#rankmathrichsnippetwrapper {
overflow:hidden
}#rankmathrichsnippetwrapper h5.rankmathtitle {
display: block;
padding: 0;
background: transparent;
letterspacing: 1px;
texttransform: none;
border: 0;
fontweight: bold;
color: #111111;
fontsize: 18px;
lineheight:1.4
}#rankmathrichsnippetwrapper .rankmathreviewimage {
float: right;
maxwidth: 40%;
marginleft:15px
}#rankmathrichsnippetwrapper .rankmathreviewdata {
color: #111111;
marginbottom:15px
}#rankmathrichsnippetwrapper .rankmathtotalwrapper {
width: 100%;
padding: 0 0 20px 0;
float: left;
clear: both;
position: relative;
boxsizing:borderbox
}#rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathtotal {
border: 0;
display: block;
margin: 0;
width: auto;
float: left;
textalign: left;
padding: 0;
fontsize: 24px;
lineheight: 1;
fontweight: 700;
boxsizing: borderbox;
overflow:hidden
}#rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathreviewstar {
float: left;
marginleft: 15px;
position: relative;
zindex: 99;
lineheight:1
}#rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathreviewstar .rankmathreviewresultwrapper {
display: inlineblock;
whitespace: nowrap;
position: relative;
color:#f4f4f4
}#rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathreviewstar .rankmathreviewresultwrapper .rankmathreviewresult {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
whitespace: nowrap;
color:#ffbe01
}#rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathreviewstar .rankmathreviewresultwrapper i {
fontsize: 18px;
webkittextstrokewidth: 1px;
webkittextstrokecolor: #997200;
fontstyle: normal;
padding: 0 2px;
lineheight:inherit
}body.rtl #rankmathrichsnippetwrapper .rankmathreviewimage {
float: left;
marginleft: 0;
marginright:15px
}body.rtl #rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathtotal {
float:right
}body.rtl #rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathreviewstar {
float: right;
marginleft: 0;
marginright:15px
}body.rtl #rankmathrichsnippetwrapper .rankmathtotalwrapper .rankmathreviewstar .rankmathreviewresult {
left: auto;
right:0
}@media screen and (maxwidth: 480px) {
#rankmathrichsnippetwrapper .rankmathreviewimage {
display: block;
maxwidth: 100%;
width: 100%;
textalign: center;
marginright:0
}#rankmathrichsnippetwrapper .rankmathreviewdata {
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.