-
AuthorPosts
-
May 3, 2018 at 7:03 pm #951012
Hello,
On my site, I’d like to change the link color of the button (Layerslider WP). I’ve managed to change the background color and the border but not the text.
I’ve tried several CSS, even adding a specific span.
Could u help me please ? (credentials below – slider button in first element of my homepage)
Tx guys !!!May 4, 2018 at 12:38 pm #951595May 4, 2018 at 1:21 pm #951630I’ve removed everything, but I’ve tried this method : https://kriesi.at/support/topic/change-colour-on-hover-in-layer-slider-buttons/
Tx for your help
May 4, 2018 at 5:40 pm #951791I become crazy, I’ve tried so many things… Can anybody help?
Tx guysMay 5, 2018 at 8:04 am #952050Hi,
Please try the following in Quick CSS under Enfold->General Styling:
a.ls-layer-link:hover { background-color:green !important; }
Best regards,
RikardMay 7, 2018 at 10:21 am #952568Hey Rikard,
It’s OK for the background, but my text in the button is still white in hover (so not visible), even if I’ve addeda.ls-layer-link:hover { color:#432b1f !important; }
What can I do to change the text color while hover?
Tx and have a nice day
MarineMay 8, 2018 at 6:23 am #953122May 8, 2018 at 9:34 am #953257Ok Victoria but could you tell me which CSS I should add please, I don’t manage to do it by myself.
I’ve tried to add the class btn-slider with a span to my layer text. I manage to change to text color by default but not the hover one..btn-slider { color: #432b1f !important; }
Could you help me please?
TxxxxxMay 9, 2018 at 3:41 pm #953989Hi Marine,
The way I see it here, the css will not do it here, it needs to be JavaScript.
If you need further assistance please let us know.
Best regards,
VictoriaMay 24, 2018 at 11:55 am #961472I did it.
It works for me.#layerslider_2 > div.ls-inner > div > div:nth-child(3):hover{background-color: #e94446 !important;}
#layerslider_2 > div.ls-inner > div > div:nth-child(3) > span{color: #fff !important;}
May 24, 2018 at 4:14 pm #961629Hi,
Thank you for sharing your solution.
@newki75 I see the button background and the text color both change on hover to a light background and dark text.Please clarify if you need any further help or we can close this ticket :)
Best regards,
VinayMay 24, 2018 at 4:51 pm #961684It’s OK for me now, you can close the issue sorry :-)
Tx guys !May 27, 2018 at 1:00 pm #962704Hi newki75,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.