- Posts: 4
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Space after label names
- johnswaney
-
Topic Author
- New Member
-
Less
More
IP: 190.233.250.11
13 years 10 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?
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?
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 10 months ago #1491
by admin
Olivier.
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.
spaces don't work too well in the content property of CSS. I would suggest you add padding to the fieldlabel instead.
Olivier.
- johnswaney
-
Topic Author
- New Member
-
Less
More
- Posts: 4
IP: 190.233.250.11
13 years 10 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;
}
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;
}
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 10 months ago #1493
by admin
Olivier.
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.
