Skip Navigation

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

Problem:
Fix the width / size of the menu language switcher (submenu) - Divi Theme

Solution:
Add this CSS code to Appearance > Customize > Additional CSS

body #et-secondary-nav li>ul {
    width: auto !important;
}

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Diego Pereira 2 years ago.

Assigned support staff: Diego Pereira.

Author Posts
July 19, 2018 at 12:52 pm #2534763

Bendimered Lotfi

I am trying to: resize the sub menu of the langage selector

Link to a page where the issue can be seen: hidden link

Hey, I tried to resize the sub menu of the langage selector with no success. I did try to set the width to auto with no impact on the design.

Could you help me with this?

Kind Regards,

Lotfi B.

July 19, 2018 at 5:30 pm #2535321

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Lotfi B. , welcome to the WPML support Forum!

Please try this CSS code. You can add it to Appearance > Customize > Additional CSS

body #et-secondary-nav li>ul {
    width: auto !important;
}

Please let me know if it worked for you.

All the best,
Diego

July 20, 2018 at 1:25 pm #2564522

Bendimered Lotfi

Perfect! Thank you 🙂

July 20, 2018 at 3:45 pm #2565053

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there, I'm glad to hear that the issue is solved ?

Please contact us if you need our help in the future with WPML. We will be more than happy to help.

Cheers,
Diego