Thanks for your reply.
The main problem is the one exceeding the tour height and not being able to set over it.
The other one, I can use only the on-hover, it’s no problem.
Sure, I can give you the code I used:
HTML:
<div class=”hotspot”>
<div class=”container”>
<div class=”card”>
<div class=”box”>
<div class=”content”>
<h2>CINE</h2>
<h3>Película: Las aventuras de los Minions</h3>
<p>Haz click para ver la película o entra aquí para ver el resto de la cartelera</p>
QUIERO VERLO
</div>
</div>
</div>
</div>
CSS:
/**************************
* HOTSPOTS EN IMAGEN 360
* ************************/
.hotspot {
font-family: “Poppins”;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
min-height: 10vh;
background: #232427;
}
.hotspot .elementor video {
height:315px;
}
.hotspot .container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
max-width: 1200px;
margin: 0px 0;
}
.hotspot .container .card {
position: initial;
min-width: 640px;
height: 300px;
box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
inset -5px -5px 15px rgba(255, 255, 255, 0.1),
5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
border-radius: 15px;
margin: 0px;
}
.hotspot .container .card:nth-child(1) .box .content a.hotspot-button {
background: #0CF5FD;
font-weight:600;
}
.hotspot .container .card:nth-child(1) .box .content a {
color: #0CF5FD;
}
.hotspot .container .card:nth-child(1) .box .content a:hover {
color: #0bccd2;
}
.hotspot .container .card .box {
position: absolute;
top: 20px;
left: 20px;
right: 20px;
bottom: 20px;
background: #2a2b2f;
border-radius: 15px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.hotspot .container .card .box .content {
padding: 20px;
text-align: center;
}
.hotspot .container .card .box .content img {
display: block;
margin: 0 auto;
width: 200px !important;
height: auto;
}
.hotspot .container .card .box .content h2 {
position: absolute;
top: -40px;
right: 30px;
font-size: 8rem;
color: rgba(255, 255, 255, 0.1);
}
.hotspot .container .card .box .content h3 {
font-size: 2.5rem;
color: #fff;
z-index: 1;
margin-bottom: 15px;
}
.hotspot .container .card .box .content p {
font-size: 1rem;
font-weight: 300;
color: rgba(255, 255, 255, 0.9);
z-index: 1;
}
.hotspot .container .card .box .content a.hotspot-button {
position: relative;
display: inline-block;
padding: 8px 20px;
background: black;
border-radius: 5px;
text-decoration: none;
color: white;
margin-top: 20px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.hotspot .container .card .box .content a.hotspot-button:hover {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
background: #0bccd2;
color: #fff;
}
I made another test with an HTML without using styles (only an <h2>) and the same thing keeps happening.
I hope you could find a solution because is a blocking problem for user experience.
Waiting for your reply,
Thanks!