Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1419486

    Hi Kriesi-Team

    When I label a checkbox, the font size is very small and vertically not in the middle of the checkbox. I have not found any settings for this. Is there a CSS code?

    Thanks,
    Beat

    #1419517

    Hey Beat,

    Thank you for the inquiry.

    An external css file, possibly from a plugin, might be overriding the default checkbox styles. Where can we check this issue? Please provide the site URL in the private field.

    Best regards,
    Ismael

    #1419532
    This reply has been marked as private.
    #1419539

    Hi!

    Thank you for the info.

    Please look for this css modification in the Quick CSS field..

    #top label.input_checkbox_label {
        font-size: 11px;
        line-height: 11px;
        font-weight: normal;
    }

    .. then, replace it with:

    #top label.input_checkbox_label {
        font-size: 11px;
        line-height: 11px;
        font-weight: normal;
        top: 5px;
        position: relative;
    }
    

    Regards,
    Ismael

    #1419670

    Hi Ismael
    Thanks for the solution. It works fine!

    I still have two questions about the formatting:
    1. the colour of the font should be the same everywhere. Is there a CSS for this?
    2. the formatting with line breaks is not nice in the lower text. Can this be improved?

    Thanks,
    Beat

    #1419695

    Hi,

    Please try this CSS as well:

    #top label.input_checkbox_label {
        color: #919191;
        font-size: 15px;
    }

    Best regards,
    Rikard

    #1419737

    Hi Rikard
    Thanks for your solution.
    Nr. 1: It works fine!
    Nr. 2: Do you have a solution? See above.

    Best regards,
    Beat

    #1419749

    Hi,

    Please try this CSS as well:

    .page-id-2343 #element_avia_10_1 .input_checkbox_label {
      line-height: 20px;
      margin-top: -3px;
    }

    Best regards,
    Rikard

    #1419772

    Hey,
    Thanks for your answer but I can’t see any changes.
    In the Check-box below, the formatting with line breaks is not nice in the lower text. Can this be improved? See the Checkbox with the text “Mit Absenden des Formulars stimmen Sie der Verarbeitung Ihrer personenbezogenen Daten zu. FACT nutzt diese Daten, um Ihnen die angeforderten Informationen sowie weiterführende Inhalte bereitzustellen. Sie können Ihre Einwilligung jederzeit widerrufen. Bitte füllen Sie dieses Pflichtfeld aus. *”

    Best regards,
    Beat

    #1419791

    Hi Beat,

    I think Rikard’s code should work just fine, you seem to replace line-height 20px to 15px, and the original value is 14px that’s why you barely see any difference, try changing it back to 20px or a higher value and it should work just fine.

    Best regards,
    Nikko

    #1419830

    Hey Nikko

    Thank you for the answer.
    I think the formatting of the 4th checkbox is not ideal. Can you check this again?

    Best regards,
    Beat

    #1419968

    Hi Beat,

    Please try to add padding on Rikard’s code, it should look like this:

    .page-id-2343 #element_avia_10_1 .input_checkbox_label {
        line-height: 22px;
        margin-top: -3px;
        padding-left: 25px;
    }
    

    Best regards,
    Nikko

    #1420381

    Hi Nikko,
    Thanks for your answert.
    The solution works fine!

    Best regards,
    Beat

    #1420387

    Hi Beat,

    I’m glad that we could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Formular element Checkbox’ is closed to new replies.