This is the url I'm working with
This is the code:
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
z-index: 3;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
<div>
<div>
<a id="copyTagsToSEO" href="#popup1">Copy to keywords</a>
</div>
<div id="popup1" class="overlay">
<div class="popup">
<a class="close" href="#">×</a>
<iframe id="cnx_frame" style="border: none" src="https://elements.connatix.com/extension?h={"library":{"mediaId":"2afc6334-ecdc-4cdb-94da-c6ef7a4fce39","mediaIdList":null,"playerId":"42ff15a0-ee43-42a6-abfe-2b0957ed9e22"},"playlists":{"mediaId":null,"mediaIdList":["2c6d7e20-8b96-4ebf-b9eb-d89a72a5a10e","a072194d-4eb3-4238-855a-eb6e69352f03"],"playerId":"8b034f64-513c-4987-b16f-42d6008f7feb"}}"></iframe>
</div>
</div>
</div>
No sure if the issue is related with the "#" present in the url: https://example.com/#/main? ...
When I click on the link, I'm been redirected to https://example.com/#popup1
Just to try, I manually change the url adding the anchor but no results:
Any advice or alternative to anchors links ?