FattyGuinness Posted September 10 Share Posted September 10 Hello, I'm having trouble getting the navigation bar on this website to appear correctly. On desktop the the navigation bar is running over 2 lines. I used the below code from another thread which resolved the issue on desktop but causes a problem with the mobile layout. Any advice on how to get this working well on desktop and mobile would be greatly appreciated. Website password is: crawford .header-title-nav-wrapper { flex: 1 0 80% !important; flex-wrap: nowrap !important; } .header-nav { width: 100% !important; flex: 1 1 100% !important; } Link to comment
creedon Posted September 10 Share Posted September 10 Site URL? Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
FattyGuinness Posted September 10 Author Share Posted September 10 apologies https://hexaflexagon-buffalo-kb8j.squarespace.com/paintings#shop Link to comment
Solution creedon Posted September 10 Solution Share Posted September 10 You just need to restrict the ruleset to the desktop version of the navigation. // uses LESS syntax .header-display-desktop { .header-title-nav-wrapper { flex : 1 0 80%; flex-wrap : nowrap; } .header-nav { flex : 1 1 100%; width : 100%; } } This is for v7.1. Let us know how it goes. FattyGuinness 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
FattyGuinness Posted September 10 Author Share Posted September 10 Great, I think thats done it. Thanks for your speedy help! creedon 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment