Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Radio-Button Mouseover

1 month 1 week ago #1

  • Daniela's Avatar
  • Daniela
  • Posts: 4
Hey there,

in my form there are additional radiobuttons, when I go over it with the mouse. Where do they come from and how can I fix this?
ligo-cube.de/index.php/cubes/wohnen/79-p...96-3x6-nur-lieferung

Thanks a lot

1 month 1 week ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 12871
Hello,

Thank you for contacting us!

This is a conflict with one of your extensions,
to solve it you need to add JS code to the code editor.
document.addEventListener('DOMContentLoaded', function(){
    document.querySelectorAll('.ba-form-radio span.radio').forEach(function(span){
        span.parentNode.append(span.querySelector('input'));
        span.remove()
    });
});

Best Regards,
Vyacheslav, Balbooa Support Team

1 month 6 days ago #3

  • Daniela's Avatar
  • Daniela
  • Posts: 4
Thank you so far, I put that Code into my Code Editor of the form, now the double hover effect is gone, but now there is way to much gone. I lost my chosen radiobutton dot. :dry:

ligo-cube.de/index.php/cubes/wohnen/79-p...96-3x6-nur-lieferung

1 month 6 days ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 12871
Hello,

Thank you for contacting us!

You need to find the line in the code we posted earlier
span.parentNode.append(span.querySelector('input'));
and replace:
span.parentNode.insertBefore(span.querySelector('input'), span);

Best Regards,
Vyacheslav, Balbooa Support Team

1 month 6 days ago #5

  • Daniela's Avatar
  • Daniela
  • Posts: 4
Its working! Thanks a lot! :)

1 month 6 days ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 12871
You are welcome ;)
Let us know if you need more assistance!

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum