Notifications
Clear all

[Solved] Custom Display Ratings

9 Posts
3 Users
2 Likes
1,072 Views
(@carmechanic)
Active Member
Joined: 4 years ago
Posts: 5
Topic starter  

It is possible to hide star rating "text" and leave only stars ? Custom CSS ?


   
Topic Tags
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5911
 

Hi @carmechanic,

You should use the CSS code below:

1. The following code hides the text in the commenting area

.wpd-field-rating .wpd-field-group-title {
Β  Β  display: none;
}

2. The following code hides the text in the comment area

.wpd-cf-rating .wpd-cf-label {
display: none;
}

The CSS code should be added in the "Custom CSS Code" textarea, located in the Dashboard > Comments > Settings > Styling admin page.Β 

Please don't forget to delete all caches before checking.Β 


   
(@carmechanic)
Active Member
Joined: 4 years ago
Posts: 5
Topic starter  

Unfortunately it doesn`t work for me. After paste CSS code in Comments > Settings > Styling admin page., still have "Rate (3/2) test over the stars average πŸ™


   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5911
 

@carmechanic,

Please leave some example URL and show on the screenshot what exactly you'd like to hide. I'll try to provide a CSS solution for you.Β 

Β 


   
(@carmechanic)
Active Member
Joined: 4 years ago
Posts: 5
Topic starter  

@astghik

delete

Sorry for my long time reply. This text of "Rate 3/2" is above average star rating as I show on screenshot. I want to hide this text and if possible,Β  move this stars icons in to the top-middle comment box ( second screen )

moved

Β 

Β 

Β 


   
Elvina
(@elvina)
Support
Joined: 5 years ago
Posts: 1403
 

Hi @carmechanic,

Please remove the CSS code provided above, and use the following one:

.wpdiscuz-stars-label {
display: none;
}

.wpdiscuz-stars-wrapperΒ {
margin-left:Β 110px;
}
The red marked value can be changed as you need.
Β 
Please don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

Β 

Β 


   
carmechanic reacted
(@carmechanic)
Active Member
Joined: 4 years ago
Posts: 5
Topic starter  

Problem solved. Thank you for great support !!!


   
Astghik reacted
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5911
 

@carmechanic

We'd really appreciate and be thankful if youΒ leave a good review on plugin page.Β This is the best way to say thank you to this project and support team.

Β 


   
(@carmechanic)
Active Member
Joined: 4 years ago
Posts: 5
Topic starter  

I will πŸ™‚


   
Share:
Scroll to top