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 el foro 6 días a la semana, durante 22 horas por día.

This thread is resolved. Here is a description of the problem and solution.

Problem:Add Language Switcher to TOP Bar, right side of Social Links

Solution:there are 2 different ways you could attempt this

1. Use CSS to move the language switcher to that position

add the following to your Additional CSS area

#top-bar-nav>ul>li:last-child { margin-right: 0; margin-left: 1457px; } 2. Contact your theme provider and ask them to provide you with the best location to insert your language switcher next to your social icons as they do know their code best

once they provide the location you can add it with the following code

=> https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#using-php-actions

Relevant Documentation:

Etiquetado: 

This topic contains 2 respuestas, has 2 mensajes.

Last updated by carmeloT hace 5 meses.

Assigned support staff: Bobby.

Autor Mensajes
mayo 8, 2019 a las 11:23 pm

carmeloT

Hello,

I would like to set the Language Switcher on the Top Bar, and on the far right to the right of the Social Icons...

hidden link

I´m using OceanWP and Elementor Pro, how could we achieve this?

Many thanks!!

mayo 9, 2019 a las 12:57 am #3771721

Bobby
Supporter

Languages: Inglés (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi There,

there are 2 different ways you could attempt this

1. Use CSS to move the language switcher to that position

add the following to your Additional CSS area

#top-bar-nav>ul>li:last-child {
    margin-right: 0;
    margin-left: 1457px;
}

2. Contact your theme provider and ask them to provide you with the best location to insert your language switcher next to your social icons as they do know their code best

once they provide the location you can add it with the following code

=> https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#using-php-actions

mayo 14, 2019 a las 10:06 pm #3810929

carmeloT

My issue is resolved now. Thank you!