Tagged: code
- This topic has 4 replies, 2 voices, and was last updated 8 years, 10 months ago by
leafygrove.
-
AuthorPosts
-
July 22, 2014 at 6:21 am #41249
leafygrove
MemberI installed some extra profile options and one of the options I’m using isn’t going along the theme so I’m trying to customize it, but not sure how. This is my attempt for it.
tr.field_2 field_date-of-birth alt field_type_birthdate { background-color: #000000 !important; }
here is the source code around it if it helps.
<div class="bp-widget base"> <h4>Base</h4> <table class="profile-fields"> <tr class="field_1 field_user-name field_type_textbox"> <td class="label">User Name</td> <td class="data"><p><a href="http://equestria-social.tk/members/?s=Yggdrasil" rel="nofollow">Yggdrasil</a></p> </td> </tr> <tr class="field_2 field_date-of-birth alt field_type_birthdate"> <td class="label">Date of Birth</td> <td class="data">28</td> </tr> <tr class="field_5 field_gender field_type_selectbox"> <td class="label">Gender</td> <td class="data"><p><a href="http://equestria-social.tk/members/?s=Male" rel="nofollow">Male</a></p> </td> </tr> </table> </div>
July 22, 2014 at 11:35 pm #41272Sakin
Keymaster@leafygrove: It’s very difficult to check in with the code. Can you post in your page URL where you have this then I will check in what CSS that you need to add in Custom CSS” box to change the background. Also explain in which section that you want to change the color of.
July 23, 2014 at 2:55 am #41288leafygrove
MemberIts in the buddypress profile view
here is a example – The Link – should be pretty obvious.July 23, 2014 at 12:12 pm #41313Sakin
Keymaster@leafygrove: Can you try adding in the following css in “Appearance => Theme Options => Custom CSS” box.
#content #buddypress table.profile-fields tr.field_type_birthdate td { background-color: #000; }
July 23, 2014 at 11:13 pm #41344leafygrove
MemberWorks perfectly I got the bg color wrong, but a easy fix, tyvm. đ
-
AuthorPosts
- The topic ‘How do I set the background to this?’ is closed to new replies.