AmalieCharlesworth Posted April 4, 2021 Share Posted April 4, 2021 Site URL: https://dandelion-point-jf6c.squarespace.com/config/ Hi, I am working on the below website. We would like the navigation to stack vertically in the right hand corner so it looks like this. Password: Amalie Link to comment
tuanphan Posted April 10, 2021 Share Posted April 10, 2021 Hi @AmalieCharlesworth Add to Design > Custom CSS /* Stack navigation */ nav.header-nav-list { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } MattDerrick and Flinx 2 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
wagneric Posted April 14, 2021 Share Posted April 14, 2021 Thanks for this code @tuanphan, I just added this to my site too. I am trying to vertically stack the navigation on the left side, centered under the logo. Is this possible? https://grasshopper-khaki-zhg3.squarespace.com password: bhco Link to comment
tuanphan Posted April 17, 2021 Share Posted April 17, 2021 On 4/15/2021 at 2:32 AM, wagneric said: Thanks for this code @tuanphan, I just added this to my site too. I am trying to vertically stack the navigation on the left side, centered under the logo. Is this possible? https://grasshopper-khaki-zhg3.squarespace.com password: bhco Add to Design > Custom CSS /* Header layout */ .header-title-nav-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: start !important; -ms-flex-pack: start !important; justify-content: flex-start !important; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } .header-nav { margin-left: 0 !important; margin-right: auto !important; padding-left: 0 !important; text-align: left !important; } .header-layout-nav-right .header-nav-item:not(:first-child):not(.header-actions-action--cart) { margin-left: 0 !important; } wagneric 1 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
wagneric Posted April 19, 2021 Share Posted April 19, 2021 @tuanphan Thank you very much. I tried this, but the links are all displaying on the same line. Did I do something wrong? Link to comment
Guest Posted June 8, 2021 Share Posted June 8, 2021 On 4/19/2021 at 11:25 AM, wagneric said: @tuanphan Thank you very much. I tried this, but the links are all displaying on the same line. Did I do something wrong? Hey how did you get it to look like that ?? Thank you! Link to comment
tuanphan Posted June 8, 2021 Share Posted June 8, 2021 19 minutes ago, sce said: Hey how did you get it to look like that ?? Thank you! Can you share link to your site? We can take a look 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
tuanphan Posted June 8, 2021 Share Posted June 8, 2021 On 4/19/2021 at 8:25 AM, wagneric said: @tuanphan Thank you very much. I tried this, but the links are all displaying on the same line. Did I do something wrong? Sorry, missing your comment. Do you still need help? 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 June 8, 2021 Share Posted June 8, 2021 On 4/19/2021 at 11:25 AM, wagneric said: @tuanphan I am still building my site but the the link is as follows.https://clover-gardenia-s9l6.squarespace.com/config/ I put the same code that you gave above but the menus (portraits, corporate, etc) are all horizontal under the website title, I would like them to appear vertical, so it looks like this https://grasshopper-khaki-zhg3.squarespace.com/ The code I put in is as follows - however the menu items are still horizontal under the website name , not vertical. /* Header layout */ .header-title-nav-wrapper { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: start !important; -ms-flex-pack: start !important; justify-content: flex-start !important; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } .header-nav { margin-left: 0 !important; margin-right: auto !important; padding-left: 0 !important; text-align: left !important; } .header-layout-nav-right .header-nav-item:not(:first-child):not(.header-actions-action--cart) { margin-left: 0 !important; Thank you. Link to comment
tuanphan Posted June 10, 2021 Share Posted June 10, 2021 On 6/8/2021 at 5:36 PM, sce said: The site is private. Can you setup password & share url again? https://clover-gardenia-s9l6.squarespace.com/?noredirect 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
tuanphan Posted March 15, 2023 Share Posted March 15, 2023 18 hours ago, charlineca said: Hi @tuanphan, I am trying to stack my navigation but is there any way to split the links between left and right side? I have 5 navigation links, I want to stack the first 3 on the left side and the last 2 on the right side of the logo. I have used the above code, but it only stacks on the left. MY page is https://rabbit-orchid-h7nk.squarespace.com/, pw is squarespace. Don't remove any code in your current code Add to Design > Custom CSS nav.header-nav-list>div:nth-child(n+4) { position: absolute; right: 0vw; bottom: 0; } nav.header-nav-list>div:nth-child(4) { bottom: 2vw; } 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
tuanphan Posted March 17, 2023 Share Posted March 17, 2023 23 hours ago, charlineca said: Thanks! They are however not aligned - the right side links are not in one line (our Story is a little more to the left) and also they are not aligned with the left links - should be aligned at top. Can you help with this? Thanks! Also, do you mind just removing the screenshot? Use this new code nav.header-nav-list>div:nth-child(n+4) { position: absolute; right: 0; bottom: 0; } nav.header-nav-list>div:nth-child(4) { right: 0vw; top: 0; } nav.header-nav-list>div:nth-child(5) { right: 5px; } 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
Create an account or sign in to comment
You need to be a member in order to leave a comment