Where are you viewing the profile field?
On a member profile page?
If so, you can use this php function bp_the_profile_field_description()
in a template overload of buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.php
.
If you mean the register page, create a template overload of that template
buddypress\bp-templates\bp-legacy\buddypress\members\register.php
and move the call to bp_the_profile_field_description()
wherever you want it.
I don’t think you can do it with just css.
Thanks for the help @shanebp. However, I am no good with PHP (yet) and still quite new to WP and BP so at the moment not entirely sure what to do with your suggestion.
In fact I have found a reasonable solution using CSS. I found some key clues on in the support forum for this plugin: Buddypress Xprofile Custom Fields Type (though I’m not using that plugin).
If anyone has any advice about how to improve this I would be glad to hear it. Thanks
/* Buddypress profile field description position*/
.editfield {
position: relative;
top: 5px;
}
.editfield label {
font-weight:bold;
margin-bottom: 30px;
}
.input field_4 {
margin-top: 5px;
}
form.standard-form p.description {
margin: 0 0 15px;
position: absolute;
top: 20px;
line-height:1em;
}
@shanebp I forgot mention that I am talking about editing the member profile on the front end, i.e the member profile page.