BP Profile Search › Move label type above form field
-
AuthorPost
-
3bsstudio
GuestIs there a way to move the description above the form fields rather than having it below as it is now?
Change current example from:
dd/mm/yy
Date of Birthto
Date of Birth
dd/mm/yyandrea
Plugin AuthorHi 3bsstudio,
You can modify the form template bps-form-default.php.
In your case, you could move the field description line (line 272 in the current version) after the field label (after line 125).
3bsstudio
GuestThanks for the reply. I ended up with:
<div id="<?php echo $id; ?>_wrap" class="bps-<?php echo $display; ?>"> <label for="<?php echo $id; ?>" class="bps-label"> <strong><?php echo $f->label; ?></strong><span> <?php echo $f->mode; ?></span> </label> <em class="bps-description"><?php echo $f->description; ?></em> <br>but it has had no effect?
andrea
Plugin AuthorPlease make sure you are actually using that template.
What do you read in the Template column in Users -> Profile Search?
3bsstudio
GuestI must be using a different template. In Profile Search Forms I see:
members/bps-form-home
custom template located in: plugins/grimlock-buddypress/templates/andrea
Plugin AuthorYes, your template is provided by your theme.
You can try editing that file or, probably better, you can ask your theme provider for advice.
-
AuthorPost