Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
El menú de WordPress se cierra demasiado rápido en el teléfono inteligente

Hola, actualmente estoy haciendo un sitio web para un cliente que usa el tema Getaway . Pero cuando cambio el tamaño de mi navegador a un teléfono móvil y abro el menú, se abre y luego se cierra muy rápido. He agregado el siguiente código en el repositorio del tema:

 jQuery(document).ready(function($) { $('.x-nav .menu-item a').off('click'); $('.x-nav .menu-item a').click(function() { return true;

Esto lamentablemente no funcionó. el enlace al sitio web es pausado . cualquier ayuda es muy apreciada.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Su menú de navegación móvil (supongo que su nombre de clase qodef-mobile-nav ) en display: "none" . Por lo tanto, debe agregar la clase "activa" que la cambia para display: "block" , cuando hace clic en el menú del botón (nombre de clase qodef-mobile-menu-opener )

Así que tu código debería ser algo como esto

 jQuery(document).ready(function($) { $('.qodef-mobile-menu-opener').click(function() { $('.qodef-mobile-nav').classList.toggle("qodef-mobile-nav-active") } }

Este enlace puede ser útil https://developer.mozilla.org/en-US/docs/Web/API/Element/classList

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!