BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Help with profile repositioning
Tagged: code, home page, profile, profile editor, repositioning
- This topic has 1 reply, 2 contibutors, and was last updated 10 years, 3 months ago by Alyssa.
Question
August 14, 2014 at 6:50 pm #30536@adamroodPlease could you tell me how to:
– Move the field description to underneath the field title in the profile editor (front-end)
– Change the spacing between the fields to make it look a little cleaner and less crowded (especially on mobile devices.) See attached image.
– I also want to add a link on the home page for members to edit their profile (see here http://members.findadepfor.me ) as it is part of the dashboard. As the system will have to pick up the logged in user – I assume a piece of code needs to be added and then a link to grab that bit of code? I’m afraid I don’t have enough experience to know what this is.
Thanks in advance
Answers
August 15, 2014 at 9:38 pm #30584@alyssa-buddyboss
AlyssaParticipant@adamrood this is a BuddyPress file located in plugins/buddypress/bp-themes/bp-default/members/single/profile/edit.php
Copy this file to your child theme in buddyboss-child/buddypress/members/single/profile/edit.phpThis file is very messy. I’m not quite sure where you need to move it to but you need to move line 140 up above about 115.
2) add this to custom.css:
#buddypress .standard-form label{margin:15px 0 0 0;}
3) this is php code to create the link:
<?php echo bp_loggedin_user_domain() . 'profile/edit/'; ?>
This code will need to go into the href of the anchor.
NOTE: you can not put PHP code into a wordpress page. You will either need a plugin to do this or use a page template.
- The question ‘Help with profile repositioning’ is closed to new replies.