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

**URL:** https://meta.discourse.org/t/remove-location-and-web-site-under-user-preference/56055
**Category:** Support
**Created:** [January 20, 2017, 2:42am UTC](https://meta.discourse.org/t/remove-location-and-web-site-under-user-preference/56055 "2017-01-20T02:42:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![harveywun](https://avatars.discourse-cdn.com/v4/letter/h/a88e57/32.png) [@harveywun](https://meta.discourse.org/u/harveywun)
#### Post date: [January 20, 2017, 2:42am UTC](https://meta.discourse.org/t/remove-location-and-web-site-under-user-preference/56055/1 "2017-01-20T02:42:21Z")

</div>

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

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [January 20, 2017, 2:54am UTC](https://meta.discourse.org/t/remove-location-and-web-site-under-user-preference/56055/2 "2017-01-20T02:54:37Z")

</div>

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

---

<div class="post-metadata">

### Author: ![harveywun](https://avatars.discourse-cdn.com/v4/letter/h/a88e57/32.png) [@harveywun](https://meta.discourse.org/u/harveywun)
#### Post date: [January 20, 2017, 3:05am UTC](https://meta.discourse.org/t/remove-location-and-web-site-under-user-preference/56055/3 "2017-01-20T03:05:06Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [January 20, 2017, 3:07am UTC](https://meta.discourse.org/t/remove-location-and-web-site-under-user-preference/56055/4 "2017-01-20T03:07:47Z")

</div>

See

> [@Remove/hide fields](https://meta.discourse.org/t/remove-hide-fields/31254/2):
>
> I tried with css but couldn’t remove the Location… .primary-textual h3 i, .primary-textual a, .primary-textual .bio { display: none; } ‘i’ remove the icon, ‘a’ the website and ‘bio’ the about me, you can add '.primary-textual h3’but it will also remove the rank. Another way would be to remove the user settings .pref-bio, .pref-location, .pref-website { display: none; } Both are only hidding content, and any user (who know how to) could with the developper tools see the data, but it’s li…

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

```plaintext
.pref-location {
    display: none;
}

```

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/remove-location-and-web-site-under-user-preference/56055/5 "2024-06-08T12:45:03Z")

</div>

This topic was automatically closed after 2696 days. New replies are no longer allowed.
