Lightbox caption hover
-
Hi!
I want to style the hover of my lightbox caption.
my css doenst work, maybe my selector is wrong?
https://www.mikeabmaier.com/overview-22/
First image > "→ Dreitor Anwälte"
anybody can help?.lightbox-caption a:hover{ text-decoration: none;}
-
@dingdong hey try this:
.lay-textformat-parent a:not(.laybutton):hover {
text-decoration-line: 0px;
} -
@alasdair17 doenst work :(
-
@dingdong ah it seemed to work when I tried it in chrome inspector. Here is the exact selector, there is probably a simpler solution but try this:
#lightbox-inner > div > div > div.swiper-slide.has-caption.swiper-slide-active > div > p > a {
text-decoration-line: 0px !important;
} -
@alasdair17 also doesnt work...
i saw this in the inspector too but maybe there is a possibility with data-type="project"? -
solved.
.lightbox-caption a:hover { text-decoration: none !important; }
3/6
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it