Title: Dropdown Menu
Last modified: December 1, 2017

---

# Dropdown Menu

 *  Resolved [dfart](https://wordpress.org/support/users/dfart/)
 * (@dfart)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/dropdown-menu-62/)
 * Good afternoon:
 * I have a web page in WordPress where I use the plugins “qtranslate” to change
   the language and “Dropdown Menu” so that a submenu appears below the main menu.
 * My problem is that in the other languages the menu and the submenu are aligned
   but when using the Italian language the submenu is off center.
 * I have added the following line to the file style.css “.menu_it” .shailan-dropdown-
   menu ul li ul {margin left: 18px} “so that when I put my website in Italian I
   will pick up that style and center the sub-menu.
 * I do not pick up the style that I mentioned before because if I use the browser
   inspector does not show that it is taking that style. With the other languages
   that style appears.
 * I am writing to you to ask how I could assign that language to my plugin or to
   my theme so that when I put the value in the file style.css I will pick it up
   and center my submenu.
 * Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years, 5 months ago](https://wordpress.org/support/topic/dropdown-menu-62/#post-9741629)
 * We can only really help with these problems if we can see the website.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [8 years, 5 months ago](https://wordpress.org/support/topic/dropdown-menu-62/#post-9746533)
 * Try this solution instead:
 *     ```
       html .menu_principal {
           position: relative;
       }
   
       html .shailan-dropdown-menu,
       html ul.dropdown li {
           position: static;
       }
   
       html .shailan-dropdown-menu ul li ul {
           left: 0;
       }
   
       html .menu_en .shailan-dropdown-menu ul li ul {
           margin: 0;
       }
       ```
   
 * This should work for all languages.
    -  This reply was modified 8 years, 5 months ago by [Andrew Nevins](https://wordpress.org/support/users/anevins/).
 *  Thread Starter [dfart](https://wordpress.org/support/users/dfart/)
 * (@dfart)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/dropdown-menu-62/#post-9747621)
 * Thank you very much for your reply.
 * I have tried to do it in the test environment that I have enabled and it has 
   worked for me.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Dropdown Menu’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [dfart](https://wordpress.org/support/users/dfart/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/dropdown-menu-62/#post-9747621)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
