I would like to update the coding on the wp-admin-bar. Since its positioned absolute, I would like to put a div around it that is relative and or just in a normal div.
Or, I see you can hide the bar, does anyone have link structure for the admin bar?
Ex:
<ul>
<li><a href="http://www.siteurl.com/members/%username%/">My Account</a></a></li>
</ul>
Have a look at the functions in this file:
buddypress/bp-core/bp-core-adminbar.php
That’s where you’ll find what you’re looking for most likely.
What you need to do is open up buddypress/bp-core/bp-core-buddybar.php and then find the functions that make up the list items. Once you spot them you can figure out what’s what and then copy the whole function of a list item to your functions.php in your child theme. Once you have it there you can edit it how you want and you won’t have to worry about redoing it every time you update. If you’re not using a child theme then you can edit the functions in their original spot but you’ll have to redo it everytime you update buddypress. If you’re just looking to change the position property of a div you can do that through css by targeting the item in your child themes style sheet.