REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
how do we target hover states?
-
Hey there folks
I want to use a gallery element but want to change the hover-state. I have tried:
giving the element a custom class - deletng the appdrag default classes and transferring the values over to my custom class and then declaring my own hovers states, but nothing much is happening. is this possible? -
Hi,
Can you provide a link with what you've done so far?
The gallery is generated every time it's modified, it's risky to try to remove/add AppDrag classes.
I would suggest you to add an id to your gallery and target it this way :#yourGallery .appdrag-gallery-whatever { background:blue!important; }
You also might need to use important on some properties if they are defined inline by the gallery while building it.