Forums

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 ?

#149746
Paulie_D
Member

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.

http://codepen.io/Paulie-D/pen/xpmBd