-1

I'm wanting to just remove the line "Expires:Never" but can't seem to work it out how to hide it in CSS. Thanks!

<div class="mp_wrapper mp_users_subscriptions_list">
    <strong>
          <ul>
            <li class="">
                Basic Profile<br>
                Expires: Never                      
            </li>
          </ul>
    </strong>
    </div>
Schematic
  • 1
  • 1
  • 2
    Your HTML is invalid. `
      ` cannot be the child of ``.
    – Rob Apr 27 '20 at 23:31
  • If you want to just make "Expires: Never" invisible, it will need to be in it's own element. You can use `Expires: Never` and add the `display: none;` style for id `expiry` in your CSS – lurker Apr 27 '20 at 23:33
  • You can't target `
    ` with css selector. See this: https://stackoverflow.com/questions/899252/can-you-target-br-with-css#899359
    – A. Meshu Apr 27 '20 at 23:33

2 Answers2

0

You would need to put the Expires: Never in its own div or span and set visibility to hidden

addybist
  • 461
  • 1
  • 4
  • 13
0

You could wrap it in a span and use display: none or visibility: hidden on it.

TuxFan77
  • 1
  • 1