-2

I'm looking to hide this list item on our new website as it currently isn't natively possible.

Screenshot of Code

Is there an easy way to make this hidden?

Thank you

isherwood
  • 58,414
  • 16
  • 114
  • 157
  • Please see [ask]. We don't debug images here. – isherwood Mar 15 '22 at 21:13
  • When you revise to improve the question, be sure to explain _why_ that element is the one you're targeting. What's special about it in the context of your page? Don't make us guess. – isherwood Mar 15 '22 at 21:15

3 Answers3

-1

I think the easiest way to hide element is to do smth like this

    li:nth-child(2) {
      display: none;
    }
Aaron Vasilev
  • 438
  • 2
  • 6
-1

I think Use one of these:

display: none;  #The item disappears without leaving any traces

or

visibility: hidden; #The item disappears while retaining its place

see the difference her: What is the difference between visibility:hidden and display:none?

-1

You need to be careful that you aren't ruining other lists that might be in your page so I'd be as specific as I could be on this one:

.container > .navbar > .navbar-section .navbar-item:nth-child(2) { display: none; }
A Haworth
  • 30,908
  • 4
  • 11
  • 14