Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Different layout for contacts

More
9 years 10 months ago #4064 by fsilvaSYW
view contacts list was created by fsilvaSYW
hi!
I want to show the contacts as follows:
- A contact in the first row and in the following two contacts per row.
Is it possible?

thank you

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago - 9 years 10 months ago #4065 by admin
Replied by admin on topic view contacts list
Hello!

I believe this is possible via CSS.

Set the 'card width' to something like '45%'. That will take care of having 2 contacts per row (give a min and a max card width also to make sure the cards don't get too big or too small).
Then set the CSS override
.person:first-child { 
    display: block; 
    margin-left: auto !important; 
    margin-right: auto !important; 
}
This will make sure the first card will be centered on the first row.

Olivier.
Last edit: 9 years 10 months ago by admin.
The following user(s) said Thank You: fsilvaSYW

Please Log in or Create an account to join the conversation.