0
Welcome Guest! Login
0 items Join Now

SOLVED Default Language Switcher Module causing menu bar style issues?

    • nhudell's Avatar
    • nhudell
    • Newbie
    • Posts: 6
    • Thanks: 0

    SOLVED Default Language Switcher Module causing menu bar style issues?

    Posted 7 years 9 months ago
    • Hello all,
      I've always had trouble getting the default Language Switcher module to work well in Gantry template menu bar module positions. The functionality works, and looks great on a desktop browser, but when on a smaller screen, the collapsed menu bar is always longer than needed becasue the hidden language switcher module is causing layout issues.
      Do other multi-lingual Gantry users use a different Language Switcher, or is there a special Gantry particle that can do this, instead of the default Joomla module?
      Or if anyone has some custom CSS for the langaue switcher to make it play nicely with Gantry, that would be much appreciated.
      Thanks for reading!
      Nicholas
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Default Language Switcher Module causing menu bar style issues?

    Posted 7 years 9 months ago
    • Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you.

      Please do a screenshot of your problem and annotate to make it clear.

      Regards, Mark.
    • The following users have thanked you: nhudell

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • nhudell's Avatar
    • nhudell
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: SOLVED Default Language Switcher Module causing menu bar style issues?

    Posted 7 years 9 months ago
    • Hi MrT,

      Thank you very much for asking. Here is a link to images of the site showing the issue: imgur.com/a/rCPGY

      I am working on the design before it becomes the default template. You can see it here: bkksr.com/test-home-page

      I am using the Helium template.

      I'll share the login details in the secure area.

      Thank you so much for having a look.

      Best,
      Nicholas
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Default Language Switcher Module causing menu bar style issues?

    Posted 7 years 9 months ago
    • The language switcher module instance on the layout of your base outline (for helium) was disabled so I enabled it so I can see it. Then it shows ok. Changing to mobile view it still shows ok - so I don't see what the issue is - please explain.

      All left to right positions collapse to a single column, top to bottom, on mobile view - so that's why the language switch appears underneath the logo.

      If you want it always to appear at the top...

      Use this code...
      div.mod-languages {
         position: absolute;
         top: 1rem;
         right: 1rem;
      }
      To create a custom CSS compatible with Gantry 5 please read this http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet .

      Remember to recompile CSS from base outline too.



      Regards, Mark.
    • Last Edit: 7 years 9 months ago by MrT.
    • The following users have thanked you: nhudell

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • nhudell's Avatar
    • nhudell
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: SOLVED Default Language Switcher Module causing menu bar style issues?

    Posted 7 years 9 months ago
    • Thank you so much Mark. I had tried different CSS overrides before, yours was the first that didn't expand the menu bar module area unnecessarily.

      Thank you!

Time to create page: 0.061 seconds