Two Buttons - Change CSS of other on hover

Hi,

I have two buttons I created using the Pro builder. One is highlighted using CSS, the other slightly greyed out as the image shows.

I know how to use CSS to create an hover effect so when I hover over the second grey button, I can turn that blue. But is there a way to influence button A, so that when I hover over the second grey button, that turns blue and Button A turns grey?

Hi there,

What you are aiming to do is not natively supported in X but it is possible with some custom Javascript.

What you can do is to write a script that would keep track of either of the button when they get hovered then add the CSS code accordingly.

https://api.jquery.com/hover/

Hope this get you started.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.