• Resolved frixor

    (@frixor)


    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 3 months, 1 week ago by frixor.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author edo888

    (@edo888)

    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

    (@frixor)

    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

    (@edo888)

    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

    (@frixor)

    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

    (@frixor)

    Any news on this?

    Plugin Author edo888

    (@edo888)

    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

    (@frixor)

    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

    (@edo888)

    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

    (@frixor)

    This worked! Thank you very much for your time and effort!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.