#167060
 Radu
Moderator

Hi,

That isn’t possible since the kleo magic container it’s a div not a A element, I think the only reliable way it’s to set a custom CSS class for you magic container from example “mymagiccontainerclass” then with a JS code to target that class to open the link

COPY CODE

<script>
jQuery(document).ready(function () {
  jQuery(".mymagiccontainerclass").click(
      function () {
        window.location.href = "http://example.com";
      }            
    );
});

</script>

The JS code wil be added to wp-admin -> theme options -> general settings -> JavaScript code

Cheers
R.

Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

Log in with your credentials

Forgot your details?