Remove "location" and "web site" under user > preference

As topic description, is it possible to remove “location” and “web site” field under user > preferences?

I am making location a required user field when they sign-up (so having another location field under user > preferences is duplicative).

You can hide the fields using CSS but hiding it would mean that they will be unable to edit those fields easily.

Thanks. Can you show me how to hide the “location” field? (I think I can keep the web site field)

Apologies if this is blindingly obvious, not a strong enough coder myself.


You are going to only be interested in the .pref-location bit.

.pref-location {
    display: none;