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

Leave a review

file Space after label names

More
11 years 3 months ago #1489 by johnswaney
Space after label names was created by johnswaney
Hi

I'm having a problem on the Contact Card with the original template selected. As seen in this example (last contact card for Graham), notice it says "HometownAvoca, IA USA". Originally it had a colon so it said "Hometown:Avoca, IA USA". I want it to say "Hometown: Avoca, IA USA" (space after the colon).

I edited the CSS to remove the colon, and made sure the space was there. So to exaggerate the point and see if it worked, I edited the css to say:
.trombinoscopeextended_<?php echo $suffix; ?> .fieldlabel:after {
content: " ";

However, still no space is shown.

Thoughts?

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

More
11 years 3 months ago #1491 by admin
Replied by admin on topic Re: Space after label names
Hello,
spaces don't work too well in the content property of CSS. I would suggest you add padding to the fieldlabel instead.

Olivier.

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

More
11 years 3 months ago #1492 by johnswaney
Replied by johnswaney on topic Re: Space after label names
Thanks!

Easy fix. Possibly want to consider implementing it in your component since there isn't an inherent space after a custom label name.

.trombinoscopeextended_<?php echo $suffix; ?> .fieldlabel {
padding: 0px 5px 0px 0px;
}

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

More
11 years 3 months ago #1493 by admin
Replied by admin on topic Re: Space after label names
I will double check on that. I wonder if it is actually a problem with the browsers. On my test site I do have the space. I probably should add the padding anyway to make sure it is consistent across platforms.

Olivier.

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