Guest Posted March 14, 2021 Share Posted March 14, 2021 My partner is currently making a website and everything is looking great on both the desktop and tablet version however on the mobile version it has this bar down the side of the whole page, you can move the page horizontally. We feel it has something to do with the selection bar not fitting on the page for some reason. Any help would be appreciated, thanks. Link to comment
tuanphan Posted March 28, 2021 Share Posted March 28, 2021 Hi. Try adding this code into Design > Custom CSS html, body { overflow-x: hidden; } 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
Guest Posted March 29, 2021 Share Posted March 29, 2021 Thankyou for your response this fixes the scrolling problem but the bar is now off screen and hard to access Found out it is this code that is causing the problem .header-title-nav-wrapper { flex: 1 0 85% !important; flex-wrap: nowrap !important; } .header-nav { width: 100% !important; flex: 1 1 100% !important; } Is there any way we could make this code onlt effect the desktop version and not the moble version Link to comment
tuanphan Posted April 10, 2021 Share Posted April 10, 2021 On 3/29/2021 at 9:29 PM, Sausagemunk said: Thankyou for your response this fixes the scrolling problem but the bar is now off screen and hard to access Found out it is this code that is causing the problem .header-title-nav-wrapper { flex: 1 0 85% !important; flex-wrap: nowrap !important; } .header-nav { width: 100% !important; flex: 1 1 100% !important; } Is there any way we could make this code onlt effect the desktop version and not the moble version Remove it & use this code /* Desktop only */ @media screen and (min-width:992px) { .header-title-nav-wrapper { flex: 1 0 85% !important; flex-wrap: nowrap !important; } .header-nav { width: 100% !important; flex: 1 1 100% !important; } } 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.