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!
No, use this instead
.dwqa-list-question .filter-bar .order li:last-child { display:none; }
Let me know if need anything else.
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.
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; }
It works perfectly, thanx a million!
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!
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/
I think you have resolve this issue, I will mark the “Resolved” status the question.
Please login or Register to submit your answer