Jump to content

Mobile Overlay Menu Language-Switch Icon Reposition

Recommended Posts

The Language-Switch icon default is to appear at the very bottom of the mobile overlay screen. I need to modify its position to appear in the middle or the top of the overlay screen, but have NO IDEA of how to do this, as I have ZERO coding skills. Help!

Link to comment
41 minutes ago, PJGND said:

Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS.

@media only screen and (max-width: 767px) {
  .header-menu-nav-folder {
    justify-content: center !important;
    .header-menu-nav-folder-content {
      flex-grow: inherit !important;
    }
  }
}

 

Screenshot_125.png

Screenshot_131.png

Edited by Web_Solutions

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Add the code I wrote to the Custom CSS panel, not the Page Header Code Injection panel.

You’ll find the Custom CSS panel in Website > Utilities > Website Tools > Custom CSS.

To place at the top:

@media only screen and (max-width: 767px) {
    .header-menu-nav-folder-content {
      flex-grow: inherit !important;
    }
}

To place in the middle:

@media only screen and (max-width: 767px) {
	.header-menu-nav-folder-content {
		flex-grow: inherit !important;
	}
	.header-menu-nav-folder {
		justify-content: center !important;
	}	
}

 

Edited by Lesum

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.