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

Leave a review

file Different layout for contacts

More
10 years 1 month 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
10 years 1 month ago - 10 years 1 month 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: 10 years 1 month ago by admin.
The following user(s) said Thank You: fsilvaSYW

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

Free Extensions Support Membership
$12 $9.95
  • 3 months personal help
  • support future developments
  • 30% renewal discount
Sign up now!
Extensions bundle license
$317.70 $119
  • 12 months support (forum & email)
  • 12 months updates
  • all free & pro extensions
  • unlimited sites
  • 30% renewal discount
Get the deal!