Skip to content

Commit c2def54

Browse files
committed
hide country field in buddypress edit profile form
1 parent eb099dd commit c2def54

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

frontend-redesign/scss/common.scss

+13
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,17 @@ a {
129129
&.secondary {
130130
color: $white;
131131
}
132+
}
133+
134+
//TEMPORARY FIX
135+
// Remove country field from profile edits
136+
// this should be eventually replaced with a country dropdown select
137+
#buddypress {
138+
#profile-edit-form {
139+
.editfield {
140+
&.field_location {
141+
display: none !important;
142+
}
143+
}
144+
}
132145
}

themes/cc-commoners-2019/assets/css/style.css

+3
Original file line numberDiff line numberDiff line change
@@ -5927,6 +5927,9 @@ a {
59275927
.button.secondary {
59285928
color: #fefefe; }
59295929

5930+
#buddypress #profile-edit-form .editfield.field_location {
5931+
display: none !important; }
5932+
59305933
.main-header {
59315934
position: relative;
59325935
background-color: #F7D962;

0 commit comments

Comments
 (0)