The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to 'display: none' this ? Reply To: How to 'display: none' this ?


Why not move the class to the li…then display:none will work?

This would be the optimal solution.

Otherwise, it will require a javascript solution as you cannot select a parent element in CSS.