Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #41249
    leafygrove
    Member

    I 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>
    #41272
    Sakin
    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.

    #41288
    leafygrove
    Member

    Its in the buddypress profile view
    here is a example – The Link – should be pretty obvious.

    #41313
    Sakin
    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;
    }
    #41344
    leafygrove
    Member

    Works perfectly I got the bg color wrong, but a easy fix, tyvm. 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How do I set the background to this?’ is closed to new replies.