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


(harvey) #1

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).


(Alan Tan) #2

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


(harvey) #3

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.


(cpradio) #4

See

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

.pref-location {
    display: none;
}