---
title: 'Language Switcher overflow from navbar in mobile site'
url: 'https://getgrav.org/forum/themes-styling/language-switcher-overflow-from-navbar-in-mobile-site-t6607'
markdown: 'https://getgrav.org/forum/themes-styling/language-switcher-overflow-from-navbar-in-mobile-site-t6607.md'
date: '2026-06-21'
description: "Hi I'm working on my own theme based on the Grav One Page Theme. My problem: How can I hide the language selection from the 'LanguageSwitcher' plugin in the"
---

[Themes & Styling](https://getgrav.org/forum/themes-styling)

#  Language Switcher overflow from navbar in mobile site 

  Started by Matthias Urban 9 years ago · 0 replies · 896 views    

 [9 years ago](https://getgrav.org/forum/themes-styling/language-switcher-overflow-from-navbar-in-mobile-site-t6607#post-20104 "Permalink") 

Hi

I'm working on my own theme based on the Grav One Page Theme.

My problem:
How can I hide the language selection from the 'LanguageSwitcher' plugin in the mobile view of my web site because there is an overflow (see picture). Is there any way to work with conditions (for html classes?) to check if the web site is in 'desktop' or 'mobile' view?
With the 'mobile' site at the top showing the avaiable language is no problem because it is in the headerimage. But after scrolling down the language selection disrupts the site view. Maybe it is possible to deactivate the language selection after scrolling down?

Thanks.
LanguageSwitcher\_mobile|311x500

[Log in](https://getgrav.org/login?return=%2Fforum%2Fthemes-styling%2Flanguage-switcher-overflow-from-navbar-in-mobile-site-t6607) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [Grav2 with Quark2 – All pages in the hamburger-menu of a one-pager](https://getgrav.org/forum/themes-styling/grav2-with-quark2-all-pages-in-the-hamburger-menu-of-a-one-pager-t9485)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by AH, 2 weeks ago |  | 1 | 199 | [10 hours ago](https://getgrav.org/forum/themes-styling/grav2-with-quark2-all-pages-in-the-hamburger-menu-of-a-one-pager-t9485 "by AH") |
| [\[quark\] mobile menu as the modular page menu](https://getgrav.org/forum/themes-styling/quark-mobile-menu-as-the-modular-page-menu-t1132)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by Bruno, 4 years ago |  | 6 | 1350 | [10 hours ago](https://getgrav.org/forum/themes-styling/quark-mobile-menu-as-the-modular-page-menu-t1132 "by AH") |
| [Modular Page Background Image Display](https://getgrav.org/forum/themes-styling/modular-page-background-image-display-t9486)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by TomW, 2 weeks ago |  | 2 | 203 | [2 days ago](https://getgrav.org/forum/themes-styling/modular-page-background-image-display-t9486 "by TomW") |
| [Inheriting a Theme does not quite work correctly](https://getgrav.org/forum/themes-styling/inheriting-a-theme-does-not-quite-work-correctly-t9501)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by themetman, 3 days ago |  | 0 | 56 | [3 days ago](https://getgrav.org/forum/themes-styling/inheriting-a-theme-does-not-quite-work-correctly-t9501 "by themetman") |
| [Is it a way to get the "content - summary" in a twig template ?](https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by FrViPofm, 2 months ago |  | 4 | 668 | [1 month ago](https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431 "by Paul Hibbitts") |
