Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

258
Visualizações
Close modal on button click Elementor

I hope you are having a nice day. I am working with the following menu:

enter image description here

The site with which I am working is a Single Page, I need that when clicking any of the buttons that work as anchors to different sections (referenced by ID) they also close this popup. Any idea how to do it? I can work perfectly with JS and jQuery, I know these technologies a lot.

Thanks for reading and giving me your time. I await your responses. Greetings.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I have this working for me:

  • give the buttons on your popup an additional class of 'close-popup'

  • add an HMTL widget to your popup with the following

    <script> 
      jQuery( document ).ready( function( $ ) {
      $( document ).on( 'click', '.close-popup', function( event ) {
          elementorProFrontend.modules.popup.closePopup( {}, event );
       } );
     } );
    </script>
    

I'd like to be able to claim the credit for this, but it goes to shilo-ey

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda