XF 2.2 extra.less

webbouk

Well-known member
Is it possible to hide a 'div class' using extra.less

Say for instance I wanted to hide: <div class="name_of_divclass"> and everything in it up to and including the closing </div> could I do so within extra.less and if so what would I need to add?
 
Hello,

display: none; the item is not displayed and its display location is removed.
visibility: hidden; the element disappears but its display location remains, there is an empty space instead.

It's interesting to know, sometimes visibility: hidden; can be more appropriate even if it's quite rare.
 
Back
Top Bottom