kmcsherry Posted April 7, 2020 Share Posted April 7, 2020 Site URL: https://aam-web-sample.squarespace.com/ When my site is viewed on a tablet the navigation overlaps with my social icons and button. Is there a way I can force my navigation to go to mobile/hamburger view when being viewed on tablets/ipads? Link to comment
tuanphan Posted April 8, 2020 Share Posted April 8, 2020 Hi. Have you solved yet? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
kmcsherry Posted April 8, 2020 Author Share Posted April 8, 2020 @tuanphan No I have not.. I have an 11" ipad and this is what the navigation does. Link to comment
kmcsherry Posted April 8, 2020 Author Share Posted April 8, 2020 @tuanphan Actually I grabbed some code you gave to someone else @media screen and (min-width:768px) { /* hide navigation */ .header-nav { display: none; } /* Hide header button */ .header-actions { display: none; } /* show burger */ .header-burger { display: flex; } /* Show overlay mobile menu */ .header--menu-open .header-menu { opacity: 1; visibility: visible; } I just modified it to be this and it seems to be working. @media screen and (max-width:1100px) { /* hide navigation */ .header-nav { display: none; } /* Hide header button */ .header-actions { display: none; } /* show burger */ .header-burger { display: flex; } /* Show overlay mobile menu */ .header--menu-open .header-menu { opacity: 1; visibility: visible; } } Thanks!! Link to comment
timbolimbo Posted May 15, 2020 Share Posted May 15, 2020 This was extremely helpful. Thank you, @kmcsherry -t Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.