Could this be happen because of the created <p> tag for the first word?
‘<td class=”data”><span class=”m-select-entry”><p>Blokfluit,<span class=”m-select-entry”> Contra fargot</span>,<span class=”m-select-entry”> Fargot</span></p>
I’m wondering where this <p> tag is created. The css is like: border: 1px solid #333; padding: 4px;
Thanks so far.
Nice, it’s almost fixed. I’ve placed your code in the theme functions because Buddyboss don’t use the bp-custom.php. All the words get a border for multi select fields, except the first word from the section. This word don’t get a border.
Thanks for your feedback. Indeed I want a border round a specific data cell. So for Example: My hobby’s are: Skating, Tennis, Playing games. That is the specific data cell.
In the buddypress forum I post this qeustion also with this info:
I’m looking for a solution to place an extra css rule on the: <td class=”data”><?php bp_the_profile_field_value(); ?></td> in the profile-loop.php. So I can give every filled in answer a border column in the profile. I’ve tried it with: <td class=”data”><span class=”fieldinfo”><?php bp_the_profile_field_value(); ?></span></td>. But this give to whole field section a border and not an individual filled in answer.
Thanks for your feedback. Indeed, it is not a good idea to tweak the plugin for an extra css rule with new coming future updates. However I thought that the <td class=”data”> (I want each word in the field give an independent border.) comes from the custom field types plugin and not from the theme. It seems that this can be fixed inside buddypress but not really sure how.