BP Profile Search › Shortcode is displaying profile fields & values on same line
-
AuthorPost
-
Michael
GuestThanks very much to Andrea for creating this plugin.
On my dating website, I have added the shortcode to Members page:
[bps_directory show=’field_2,field_189,field_188′]
(field 2=country, field 189=city, field 188=bio)
On mobile devices, everything displays nicely in search results, each element on its own line under the BP member avatar.
eg.
<avatar>
Country: USA
City: Boston
Bio: Hello world…..But on wider screen display (PC etc) the country & city elements sit on the same line, space permitting, with no gap. Looks bad.
eg.
<avatar>
Country: USACity: Boston
Bio: Hello world…..Any way I can force those 3 elements onto individual lines?
Thanks for any help!
(using latest WP, latest BP, Twenty Sixteen theme)
andrea
Plugin AuthorHi Michael,
You can go to Customize -> Additional CSS and enter these lines:
#buddypress span.activity { display: block; }Please let me know if it works for you!
Michael
GuestThanks Andrea, unfortunately it didn’t change anything.
Website: https://abfheaven.com/
It has a (slightly) adult theme.
The Members/search results page is only visible to logged-in users, may I create a quick test account for you to take a look, if you have time?
andrea
Plugin AuthorYes, you can use my Contact page to share information privately.
Michael
GuestJust wanted to say a huge THANK YOU to Andrea for helping me with the use of the Profile Search plugin on my site. It’s really appreciated.
andrea
Plugin AuthorYou are welcome, Michael!
For other interested readers, the additional CSS that works on Michael’s site is:
.bp-list li .item .item-meta { float: none; } -
AuthorPost