Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't click links because a box is covering them

Hello :) i got a little "slider", as shown on the screenshot. Under it, there is a link which opens the related lightbox... the problem is, the invisible box (the blue one in the screenshot) is covering the thumnails of the slider, so i cant click them. How can i fix this?

The blue box is covering the thumbnails

The button:

<label class="btn" for="modal-1">more...</label>

Css to it:

.btn {
cursor: pointer;
display: inline-block;
color: #000;
margin-top: 40vh;
margin-left: 30vw;
transform: rotate(-10deg);
z-index: 999999999;
like image 457
Tobias Glaus Avatar asked Jan 20 '26 12:01

Tobias Glaus


1 Answers

try adding position: relative;

.btn {
position: relative;
cursor: pointer;
display: inline-block;
color: #000;
margin-top: 40vh;
margin-left: 30vw;
transform: rotate(-10deg);
z-index: 999999999;
}
like image 114
Dejan.S Avatar answered Jan 23 '26 03:01

Dejan.S



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!