- 
		AuthorPosts
 - 
		
			
				
July 31, 2017 at 8:23 pm #832392
Hello wonderful Enfold people!
I’d like to make just my site’s top bar sticky on mobile.
Not the header (where the logo goes). JUST the top bar (where the social icons go).I found these two threads, but they seem to solve this problem for the header:
Does anyone know how to modify this solution for just the top bar?
Thanks!
DJuly 31, 2017 at 9:25 pm #832436Hey sdigit,
Would you be able to provide a link to the site in question. It would help if we could inspect the page.
Best regards,
Jordan ShannonJuly 31, 2017 at 9:37 pm #832447Hi Jordan,
I’ve put the URL in the private info below.
Thanks for checking!
DJuly 31, 2017 at 10:20 pm #832469Hi,
I adjusted the css from the links you provided. Add the following to quick css:
.html_header_top.html_header_sticky #header_meta { position: fixed !important; width:100% } #advanced_menu_toggle, #advanced_menu_hide { position: absolute !important; right: 0; } #advanced_menu_toggle { top: 45%; } #advanced_menu_hide { top: 10%; right: 10px; }Best regards,
Jordan Shannon- 
		This reply was modified 8 years, 3 months ago by 
Jordan Shannon.
 
July 31, 2017 at 10:58 pm #832483Hi Jordan,
Wow! Many thanks for the code – I’ve put it in the sub 767px media query.
It works – but now the top bar partially overlaps the header, so the logo is partially hidden by the top bar.
Is there a way to push the header down so it is not hidden by the sticky top bar?
Thanks again!
DAugust 1, 2017 at 6:53 pm #833015Figured it out!
@media only screen and (max-width: 767px) { #header_main {padding-top:40px !important} }Thanks again!
DAugust 1, 2017 at 10:02 pm #833085Hi D,
Glad that you figured it out. Thanks for using Enfold :)
Best regards,
Nikko - 
		This reply was modified 8 years, 3 months ago by 
 - 
		AuthorPosts
 
- The topic ‘Sticky Top Bar on Mobile’ is closed to new replies.
 
