Hi Brajesh
I have added some of the xprofile fields to the members directory with a code snippet from your directory, and it works very well.
But I really having difficulties getting the design right. I have tried to change the float of the different elements, to get a more compact design than this:
What I am looking for is my four xprofile fields next to the avatar like the text field here:
Is there an easy css fix to this?
Regards
CarstenPlease link me to your page, Should be a minor css as you have amlmost done it.
Regards
BrajeshHi Carsten,
Please add the following css and it should do it partially..bph_xprofile_fields { margin-left:0 position: absolute; left: 0; bottom: 0; } #members-dir-list .bp-list li .item-avatar { margin-bottom: 100px; }
That should most probably do it.
Please let me know if it works or not?
Regards
BrajeshAlso,
If it looks bad, Please change margin rule in the above code frommargin-left: 0;
to
margin-left: 0 !important;
That should put the text under image.
Regards
BrajeshYou will need to target using media query. Simply removing position:absolute and the bottom margin for avatar will solve it for the mobile.
As of the last design shared(3 cols or 2 cols), That will need template modification, mere css won’t be able to fix it.
Regards
Brajesh
You must be logged in to reply to this topic.