Line spacing of checkboxes as custom field

  • Leon Treff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 9 months ago #83408 by Leon Treff
Line spacing of checkboxes as custom field was created by Leon Treff
Hello,
I have created a custom field "Present at:" that has two checkboxes "Site_1" and "Site_2" as values.
Would it be possible to reduce the line spacing between the checkboxes? (see attached file)
This would be very helpful, especially with a large number of such checkboxes.

Sincerely
Léon

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

More
9 years 9 months ago - 9 years 9 months ago #83413 by James Riley
Replied by James Riley on topic Line spacing of checkboxes as custom field
Your site CSS must be doing something funny.
On my site, the spacing is controlled by my template's CSS for li
Code:
li {line-height:22px;} /* try adding this to your /media/com_eventbooking/assets/css/custom.css file!! */

... but it might be different for your site (could be margin or padding on li elements, or something else entirely). It would be great to see the code live so it can be diagnosed -- is your site online, and can you post a link?

Here's a screenshot my my site to show that the wide spacing is not the norm for EB :)

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 9 months ago by James Riley.

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

  • Leon Treff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 9 months ago #83415 by Leon Treff
Replied by Leon Treff on topic Line spacing of checkboxes as custom field
Hello,
thank you for your suggestions.
The file /media/com_eventbooking/assets/css/custom.css at my site is empty.
Unfortunately, my test site is not public.
Some tests with the template's CSS files did not yet show any improvement.
So, I have to wait for someone else to come up with another helpful proposal.

Thank you,
Léon

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 9 months ago #83427 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Line spacing of checkboxes as custom field
Hi Léon

You can submit a support ticket sending us super admin account of your site and the link to the page. I will have my template developer check and solve it directly on your site for you

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc