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

Leave a review

file word wrap around image

More
11 years 8 months ago - 11 years 8 months ago #1871 by dkram2
word wrap around image was created by dkram2
I have other information set for field 1, I am trying to have the information to wrap around the persons image so that there is no white space under the pic, also is it possible that if no picture is available for the contact to have just the text about the person and not a gray box?
Last edit: 11 years 8 months ago by dkram2.

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

More
11 years 8 months ago - 11 years 8 months ago #1873 by admin
Replied by admin on topic Re: word wrap around image
Hello,
to allow the text to overflow under the image, add the following CSS styles to your template:
(considering the pictures are on the left of the text)
.personpicture {
    margin-right: 5px;
}
.personinfo {
    margin-left: 0 !important;
}
.personmiscinfo {
    display: inline !important;
}
.personfield1 {
    overflow: visible !important;
}

You can add a default picture for people who do not have one and it won't just show a gray box then.

Olivier.
Last edit: 11 years 8 months ago by admin.

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

More
11 years 8 months ago #1874 by admin
Replied by admin on topic Re: word wrap around image
I will add an extra CSS class for allowing the removal of the pictures all-together in the next release.

Olivier.

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

More
11 years 8 months ago - 11 years 8 months ago #1876 by dkram2
Replied by dkram2 on topic Re: word wrap around image
I applied the css code to my template it caused the text to run off to the left of the text box and did not wrap around the image I have attached a pic of what it looks like, also is there a way to have left and right boxes the same height so that there isn't any blank space between the top and bottom boxes, I need to center the boxes in the content wrapper like the second image, and is there a way to limit the amount of contacts on a page so that there is more than one page for all of the contacts?


Attachments:
Last edit: 11 years 8 months ago by dkram2.

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

More
11 years 8 months ago #1878 by admin
Replied by admin on topic Re: word wrap around image
Strange, it works for me. Can you send me a live URL to see why it does not work for you?
For centered cards, give a card width in percentages (like 48%) and to have them of the same height, just give a card height in the parameters.

Olivier.

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

More
11 years 8 months ago #1879 by admin
Replied by admin on topic Re: word wrap around image
Sorry, no need to get me the URL lol, it is on the screenshots.

Olivier.

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