• Resolved Candlelite

    (@candlelite)


    Hello there is a CSS problem with Checkboxes and Radio buttons in WP themes produced using Template Toaster. The tick is shown in a smaller box to the left of the actual checkbox (similar problem with Radio buttons). To select the checkbox you have to click on the empty checkbox and the tick appears in the smaller box on the left. The function of the checkbox is fine but looks a bit strange on the screen. Is there some CSS I can apply to fix this problem. I have checked the display in Firefox and Edge and the display problem is the same.
    Regards

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @candlelite ,

    Please check this CSS:

    .forminator-checkbox .ttr_checkbox,
    .forminator-radio .ttr_radio {
        margin-right: -14px;
    }

    Add it to Appearance -> Customize -> Addtional CSS.

    kind regards,
    Kasia

    Thread Starter Candlelite

    (@candlelite)

    Hello Kasia

    Many thanks for reply. I have added the CSS as advised (please check the page) and this has moved the checkboxes to the left which has hidden the “ticks” but now you can not see which checkboxes have been selected. You only know that a selection has been made by the fact that the Number of Pay-As-You-Go Classes calculation field increments.
    When checking the form using the Preview button in the back end the checkboxes display correctly in the pop out window which proves that there is a CSS clash when displayed in the front end on a webpage.

    Regards

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @candlelite

    Thanks for response!

    Could you try something slightly different instead then, please?

    Try removing the CSS that Kasia provided and instead add this one:

    .forminator-checkbox span[aria-hidden="true"] {
      display:none!important;
    }

    This might look different (not good) in preview but it seems to be fixing the issue on front-end when tested through browser CSS editor.

    Best regards,
    Adam

    Thread Starter Candlelite

    (@candlelite)

    Hi Adam

    Many thanks for your efforts to resolve this problem, however this update does not seem to do anything – not even in Preview.

    Regards

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @candlelite

    I’ve tested this code by disabling Kasia’s code and adding mine directly via browser (so such change isn’t permanent and only applies to my browser) and it seemed to work fine there.

    I don’t see that code anywhere on your site though. Did you make sure to remove that previous code first and added mine to Appearance -> customize -> Additional CSS rather than to a custom CSS code option in Forminator and if there’s any cache on site/server, did you clear it after adding the code?

    I just want to make sure that nothing was missed here ??

    Best regards,
    Adam

    Thread Starter Candlelite

    (@candlelite)

    Adam – apologies – I had cut and copied the code but did not click publish – duh!!
    The code is now active. As you will see in the front end I have the small tick boxes but now I am unable to select any of the options. In the back end the form is working fine in the pop out preview.
    Regards

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @candlelite

    I hope you are doing well.

    I was able to click and select, but I needed to click the words.

    https://monosnap.com/file/DTC0gqWv4av2x8b9gRjQCgKNon5kkx

    Aren’t you able to select clicking on it?

    If so, could you let us know the browser that you are using and we can try to replicate?

    Best Regards
    Patrick Freitas

    Thread Starter Candlelite

    (@candlelite)

    Hi Patrick
    I was clicking on the tick box. I have now tested the page in Chrome, Firefox and Edge and as you rightly say if you click on the words it works in all three browsers. To make it more intuitive is it possible to make the words appear like a link. I tried to wrap them in ‘a’ tags but of course that did not work.
    REgards

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @candlelite ,

    Can you replace last code:

    .forminator-checkbox span[aria-hidden="true"] {
      display:none!important;
    }

    with this one:

    .forminator-checkbox span[aria-hidden="true"] {
    opacity: 0;
    margin-left: -18px;
    }

    kind regards,
    Kasia

    Thread Starter Candlelite

    (@candlelite)

    Kasia – many thanks – problem solved. If I now click on the tick box or on the text then I get an indication that the option has been selected.
    Once again many thanks to you all.
    Regards

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @candlelite,

    Glad to hear that did the trick ??

    I will mark this ticket as resolved but if you have any followup questions feel free to reopen it.

    Cheers,
    Predrag

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘CSS Checkbox Problem in Template Toaster Theme’ is closed to new replies.