Title: CSS &#8211; Dropdown is empty
Last modified: August 13, 2024

---

# CSS – Dropdown is empty

 *  Resolved [frixor](https://wordpress.org/support/users/frixor/)
 * (@frixor)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/)
 * Hey,
 * started using this plugin and it works great imo! But as soon as I add CSS in
   the extra field, the dropdown menu just gets emtpy. Nothing shown in there. Tried
   deleting line by line in the code, still no success. Only when completely deleted
   it worked.
 * Code is:
 * .gt_float_switcher .gt-selected .gt-current-lang {
   padding: 8px 15px;}.gt_float_switcher{
   border-radius: 3px;box-shadow: none !important;border-style: solid;border-width:
   1px;}
 * Embedded via shortcode (Elementor). In the backend the dropdown works, just fyi.
 * Even tried only one of the classes at time, but can’t get it to work.
 * Thanks in advance for help!
 * Greetings
   Fibor
    -  This topic was modified 1 year, 10 months ago by [frixor](https://wordpress.org/support/users/frixor/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-dropdown-is-empty%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17951625)
 * Hi,
 * Possibly you have some mistake when placing it there.
 * You can place it inside your theme CSS code and make sure to add !important everywhere,
   to override the default behavior.
 * Thanks! 🙂
 *  Thread Starter [frixor](https://wordpress.org/support/users/frixor/)
 * (@frixor)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17953192)
 * Tried it with “!important” but still an empty list. What is the problem tho? 
   If I delete the css the dropdown menu works. With 1 code css, there is no content
   in the menu.
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17957666)
 * As I have suggested, make sure to place the CSS code in some file instead of 
   Custom CSS section in GTranslate settings. When it is done and it still doesn’t
   work, let me know to check.
 * Thanks! 🙂
 *  Thread Starter [frixor](https://wordpress.org/support/users/frixor/)
 * (@frixor)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17962267)
 * Hey, tried the CSS on different things. The extra-css block in the plugin, the
   one from the theme itself and via elementor. Saldy no luck and still shows an
   empty dropdown. Even tried it without cache-plugin and always emptied my own 
   brower-cache. Thanks in advance!
 *  Thread Starter [frixor](https://wordpress.org/support/users/frixor/)
 * (@frixor)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17969277)
 * Any news on this?
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17972592)
 * Hi,
 * You are not doing what I ask you to do. When it is done, let me know to check.
   If there is something unclear about what I ask, let me know.
 * Thanks! 🙂
 *  Thread Starter [frixor](https://wordpress.org/support/users/frixor/)
 * (@frixor)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17980573)
 * Hey, just tried it with the styles.css in the child-theme itself. Same issue.
   The dropdown list appears empty…. Thanks in advance for help!
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17981206)
 * Hi,
 * I see it now. You can add the following CSS:
 * `.gt_options.gt-open {max-width:250px!important}`
 * Just a note that Float widget look has many js effects and altering it can break
   the calculations it needs to make to function properly. Also it is not designed
   to go into tight spaces, it is designed to float on the page corner.
 * You can also try to add !important to border-radius and padding attributes in
   CSS, so they do not get ignored by the default settings.
 * Thanks! 🙂
 *  Thread Starter [frixor](https://wordpress.org/support/users/frixor/)
 * (@frixor)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17985248)
 * This worked! Thank you very much for your time and effort!

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

The topic ‘CSS – Dropdown is empty’ is closed to new replies.

 * ![](https://ps.w.org/gtranslate/assets/icon-256x256.png?rev=2595917)
 * [Translate Wordpress with GTranslate](https://wordpress.org/plugins/gtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/gtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gtranslate/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)

 * 9 replies
 * 2 participants
 * Last reply from: [frixor](https://wordpress.org/support/users/frixor/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/css-dropdown-is-empty/#post-17985248)
 * Status: resolved