Checkbox unticked when selected

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Checkbox unticked when selected

This topic contains 2 replies, has 2 voices, and was last updated by Jelk Jelk 7 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11334
    Jelk
    Jelk
    Participant

    Hi again,

    I am getting there… but have a question.

    The search form has chekboxes then when hovering show a grey tick and on-click it gets all black and do not show what filters/checkboxes are active. What have I done wrong now?

    Link to search page: http://www.utbud.danscentrumstockholm.se/sok-dans/

    All the best!
    Håkan Jelk

    #11336
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    It looks like the output of the checkboxes is altered, and additional line breaks are present between them, which causes this visual bug. It might be from a custom filter from another plugin or the theme, it’s nearly impossible to tell.

    Instead of investigating, I rather recommend a much simpler solution. Just use this custom CSS:

    .option input[type=checkbox]:checked ~ label:after {
        opacity: 1 !important;
    }

    That should do the trick.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11337
    Jelk
    Jelk
    Participant

    Great! This works.

    Thanks again.

    /Håkan

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.