Hide street and number fields?
I am trying to hide the street and street number fields from the location input. I have done it in the past, but I can't remember how I did it. I tried using hiding techniques in the related CSS files and clearing the cache. But that's not working.
-
-
·
LeonidS
- ·
Hello @CoolUser376 !
Did you try to hide the street via the settings of the .bx-form-input-location-street CSS class?
-
·
LeonidS
-
- · PavelS
- ·
.bx-form-input-location-street_number { display: none !important; } .bx-form-input-location-street { display: none !important; }
-
- · Peter
- ·
If You want to hide street and streetnumber not in general but for a specific module on a specific page only - like exp module persons, you can use in the custom css (I use protean):
#bx-page-persons-search .bx-form-input-location-street_number, .bx-form-input-location-street { display: none; }#bx-page-edit-persons-profile .bx-form-input-location-street_number, .bx-form-input-location-street { display: none; }#bx-page-create-persons-profile .bx-form-input-location-street_number, .bx-form-input-location-street { display: none; } -
- · Peter
-
·
In reply to Peter
- ·
works for any page/module where the location module is in use
-
This one worked perfectly. I just entered it in the custom styles page in Artificer. Thanks.
-
you're welcome :)