隐藏或移除单个产品页面上的评论星级。

huangapple go评论67阅读模式
英文:

hide or remove review stars single product page

问题

I am very new to tech and have the mental capacity of a fish. I have a wordpress site using woocommerce, astra theme and elementor where on my single product page two sets of stars are showing in the review section usually there should be five but in this case there are ten. duplicate review stars

I have created a child theme to make changes to my site's .css and functions.php files without directly editing files; however, I am stumped on figuring out a solution. I have never written a line of code as of yet, so if someone could spell it out to me how I can get rid of this glitch, I would be very grateful.

英文:

I am very new to tech and have the mental capacity of a fish. I have a wordpress site using woocommerce, astra theme and elementor where on my single product page two sets of stars are showing in the review section usually there should be five but in this case there are ten. duplicate review stars

I have created a child theme to make changes to my sites .css and functions.php files without directly editing files however i am stumped on figuring out a solution, i have never written a line of code as of yet so if someone could spell it out to me how i can get rid of this glitch i would be very grateful.

答案1

得分: 1

移除第二个星级字段。

英文:
p.stars:nth-child(2){
   display:none;
}

should remove second stars field

huangapple
  • 本文由 发表于 2023年4月17日 20:50:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76035353.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定