Reply To: Nav bar wrapping with social icons pushed right

Home Forums Support Nav bar wrapping with social icons pushed right Reply To: Nav bar wrapping with social icons pushed right

#204991
Mark

I think I have a working fix for now, I found it in another thread. I want to think there is a better way to do this, but if this is the only way then it works for me.

@media (max-width: 1000px) {
	.menu-toggle,
	.main-navigation.toggled .main-nav > ul {
		display: block;
	}
	
	.main-navigation ul li.sfHover > ul {
		display: none;
	}
	
	button.menu-toggle {
		background-color: transparent;
		width: 100%;
		border: 0;
	}
	
	button.menu-toggle:hover,
	button.menu-toggle:active,
	button.menu-toggle:focus {
		background-color: transparent;
		border: 0;
		outline: 0;
	}
	
	.sub-menu.toggled-on,
	.children.toggled-on {
		display: block !important;
		opacity: 1 !important;
	}
	
	.dropdown-menu-toggle:before {
		content: "\f107" !important;
	}
	
	.sfHover > a .dropdown-menu-toggle:before {
		content: "\f106" !important;
	}

	.main-navigation ul {
		display: none;
	}
	
	.nav-float-right .main-navigation,
	.nav-float-left .main-navigation {
		float: none;
		margin-bottom:20px;
	}
	
	.navigation-search {
		bottom: auto;
		top: 0;
	}
	
	.mobile-bar-items {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		z-index: 21;
		list-style-type: none;
	}
	
	.mobile-bar-items a {
		display: inline-block;
	}
	
	.main-navigation .menu li.search-item {
		display: none !important;
	}
	
	li.search-item a {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.menu-toggle {
		text-align: center;
	}
	
	.nav-search-enabled .main-navigation .menu-toggle {
		text-align: left;
	}
	
	.main-nav .sf-menu > li {
		float: none;
		clear: both;
	}
	
	.nav-aligned-right.nav-below-header .main-navigation .sf-menu > li, 
	.nav-aligned-right.nav-above-header .main-navigation .sf-menu > li, 
	.nav-aligned-center.nav-below-header .main-navigation .sf-menu > li, 
	.nav-aligned-center.nav-above-header .main-navigation .sf-menu > li {
		display: block;
		margin: 0;
		text-align: left;
	}
	
	.main-navigation .main-nav ul ul {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
	}
	
	.menu-item-has-children .dropdown-menu-toggle {
		float: right;
	}
	
	.main-navigation {
		text-align:left;
	}
	
	.navigation-search,
	.navigation-search input {
		width: 100%;
		max-width: 100%;
	}
}