Transcend ing
asked 6 years ago

Hi,
How can I hide: ‘all’ and ‘unanswered’ appearing after ‘Filter:’ in the questions list page?
What I have tried so far in Appearance>Edit CSS:
“`
.dwqa_list_questions .filter .list:first-child {
display: none;
}
“`
Any ideas will be appreciated.

1 Answers
DominicStaff
answered 6 years ago

To resolve this issue, you can add the following code to the style.css file:

 .dwqa-question-filter a:nth-of-type(5) {
 display: none;
}
 .dwqa-question-filter a:nth-of-type(1) {
 display: none !important;
}
Transcend ing
replied 6 years ago

Thank you Dominic,

This code worked as is to hide ‘all’:
.dwqa-question-filter a:nth-of-type(1) {
display: none !important;
}

To hide ‘unanswered’ this is the code that worked:
.dwqa-question-filter a:nth-of-type(2) {
display: none;
}

Thanks again.

Dominic Staff
replied 6 years ago

Please let me know If you have any issue or question, I will help you resolve it.

Powered by DW Question & Answer Pro