This topic has 8 replies, 3 voices, and was last updated 9 years by JOHearn1216.
-
Author
-
October 2, 2015 at 03:00 #80359newimageindParticipant
I want to remove the space/empty lines as circled, I’d like the release these space to fit more information on this page. Thanks!
Attachments:
You must be logged in to view attached files.October 3, 2015 at 23:34 #80683LauraModeratorHello, please add this style.css of child theme
COPY CODEbody.directory.members.buddypress.page #main { padding-top: 0px !important; } div#members-dir-list { margin-top: -5%; } .search-item .author { margin-bottom: -2%; }
For extra information you could use this code in functions.php
https://archived.seventhqueen.com/forums/topic/about-us-info-not-show-in-member-listing/#post-66413Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 6, 2015 at 00:29 #81020newimageindParticipantThanks Laura, two more questions,
1. Is there a way to change the font color and style of the age? for example under “Stephanie”, her age is show as “22”.
2. I use the following code to display extra information on the members page:add_action(‘bp_directory_members_item’, ‘bphelp_dpioml’);
function bphelp_dpioml(){
$bphelp_my_profile_field_1=’State’;
$bphelp_my_profile_field_2=’Ethnicity’;
$bphelp_my_profile_field_3=’Eye Color’;if( is_user_logged_in() && bp_is_members_component() ) { ?>
<div class=”bph_xprofile_fields” style=” margin-left: 0%;”>
<?php echo $bphelp_my_profile_field_1 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_1 ); ?><br />
<?php echo $bphelp_my_profile_field_2 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_2 ); ?><br />
<?php echo $bphelp_my_profile_field_3 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_3 ); ?><br /></div><?php
}
}however if I add more than 3 fields, the rest will not show on the page. how can I fit one or two more lines of data in there?
Thank you!
October 8, 2015 at 00:48 #81396LauraModeratorHello, they do not show because of css?
Can you add the fields so i can see it? 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 15, 2015 at 01:01 #82319newimageindParticipantHere I added the fourth field:
add_action(‘bp_directory_members_item’, ‘bphelp_dpioml’);
function bphelp_dpioml(){
$bphelp_my_profile_field_1=’State’;
$bphelp_my_profile_field_2=’Ethnicity’;
$bphelp_my_profile_field_3=’Eye Color’;
$bphelp_my_profile_field_4=’Highest Education’;if( is_user_logged_in() && bp_is_members_component() ) { ?>
<div class=”bph_xprofile_fields” style=” margin-left: 0%;”>
<?php echo $bphelp_my_profile_field_1 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_1 ); ?><br />
<?php echo $bphelp_my_profile_field_2 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_2 ); ?><br />
<?php echo $bphelp_my_profile_field_3 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_3 ); ?><br />
<?php echo $bphelp_my_profile_field_4 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_4 ); ?><br /></div><?php
}
}On the screen it only show the first three, not the fourth.
Thanks!
Attachments:
You must be logged in to view attached files.October 16, 2015 at 03:04 #82596LauraModeratorHello, can you link me to the page so i can inspect it? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 28, 2015 at 00:26 #84551LauraModeratorHello, i am sorry but i cannot find a solution if i cant see it, i hope you can find a solution 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 30, 2015 at 17:36 #90117JOHearn1216ParticipantWhat file did you add the membership field codes to?
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.