Cezar Giosan
asked 10 years ago

Hello all,
I have CSS question: If I only want the number of views and answers displayed on the main page of a forum, but not the number of votes, what line of code should I edit?
 
Is it this:

.dwqa-container .dwqa-list-question .filter-bar .order { display: none; } 

changed to this?

.dwqa-container .dwqa-list-question .filter-bar .order { display: views; answers; }

Thank you in advance!

3 Answers
Yan
answered 10 years ago

No, use this instead
.dwqa-list-question .filter-bar .order li:last-child {  display:none; }
Let me know if need anything else.

Cezar Giosan
replied 10 years ago

Hello, Yan,

Yes, this does remove the header “Votes” but the square with how many votes a question has still shows up. How could I get rid of that, as well?

Thank you so much!

C.

Yan
replied 10 years ago

Oh sorry, I thought you just wanted to hide the filter. If you need to get rid of the vote box, use this

.dwqa-list-question .dwqa-vote { display:none; }

Cezar Giosan
replied 10 years ago

It works perfectly, thanx a million!

Cezar Giosan
replied 9 years ago

Hello, Yan, I have a stupid follow up on this. (I am not a programmer). I remember your advice worked perfectly at the time, but with the new updates, I am back to square one (the votes box reappeared). The thing is that I completely forgot where I went to modify the CSS at the time… I did it then, but now I am lost… Can you point me to the right place please? I’d greatly appreciate. Thank you so much!

Rafa Nadel
answered 10 years ago

But why remove from css, you can directly edit the php file and remove that function itself to save the time. It may be difficult but efficient. http://pnrstatusonline.in/

DominicStaff
answered 10 years ago

I think you have resolve this issue, I will mark the “Resolved” status the question.

Powered by DW Question & Answer Pro