Saltar navegación

Este hilo está resuelto. Aquí tienes una descripción del problema y la solución.

Problem:
The flags in the mobile version menu are not centered or aligned to the left, possibly due to a recent update in WordPress, WPML, or the theme used. Attempts to adjust it with CSS have been unsuccessful.

Solution:
Add the following CSS in Apariencia -> Personalizar -> CSS Adicional:

@media (max-width: 767px){
  ul .wpml-ls-menu-item a{
    display: inline;
  }
}

Save the changes and check the result.

Relevant Documentation:
- [WPML](https://wpml.org/)
- [Customizing the Appearance of WPML Language Switcher](https://wpml.org/documentation/getting-started-guide/language-setup/customizing-language-switcher/)

Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.

Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.

Etiquetado: 

Este tema contiene 3 respuestas, tiene 2 voces.

Última actualización por Carlos Rojas hace 1 año, 6 meses.

Asistido por: Carlos Rojas.

Autor Entradas
octubre 26, 2023 en 11:37 am #14669977

Roberto Muñoz González

Good morning.

We have observed that for some time now, probably due to an update to WordPress, WPML or the theme we use, the flags in the mobile version menu appear aligned to the left or not centered as they used to appear.

We have tried to adjust it with CSS, but it is being impossible. Please, can you give us a hand with that CSS or tell us some other way to solve this issue?

Greetings and thank you very much in advance for your fantastic work.

Sin título.png
octubre 26, 2023 en 11:57 am #14670147

Carlos Rojas
Partidario de WPML desde 03/2017

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/Madrid (GMT+02:00)

Hola,
Muchas gracias por contactarnos

Por favor añada el siguiente CSS en Apariencia -> Personalizar -> CSS Adicional:

@media (max-width: 767px){
  ul .wpml-ls-menu-item a{
    display: inline;
}
}

- Guarde los cambios y compruebe el resultado.

Saludos,
Carlos

octubre 26, 2023 en 12:04 pm #14670167

Roberto Muñoz González

Ha funcionado perfectamente.

Muchas gracias por la ayuda y vuestra rápida respuesta.

10/10 como siempre.

Un saludo.

octubre 26, 2023 en 12:10 pm #14670175

Carlos Rojas
Partidario de WPML desde 03/2017

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/Madrid (GMT+02:00)

Hola,
Me alegra saber que el problema está resuelto 🙂

Por favor no dude en contactarnos si necesita de nuestra ayuda en el futuro con WPML.
Saludos cordiales,
Carlos