JChapman Posted January 30, 2020 Share Posted January 30, 2020 Hi How do you get your navigation link to centrally align with it's drop down menu. I would like the text 'Resources' to be centrally aligned with the text/box in the drop down menu. At the moment the drop down menu is hanging off to the left! Thanks! Link to comment
tuanphan Posted January 31, 2020 Share Posted January 31, 2020 Can you share link to your site? 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
JChapman Posted February 3, 2020 Author Share Posted February 3, 2020 The problem is that it's not live yet! It's built in Squarespace 7.1. I used: .header-nav-folder-item { text-align: center; } to align the drop down menu text with the box, but struggling to make it all centrally align to the folder title! Link to comment
tuanphan Posted February 3, 2020 Share Posted February 3, 2020 You can setup password & share url 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
markjjeffries Posted June 3, 2020 Share Posted June 3, 2020 Hi Tuanphan, I also need help with this. Many thanks, Mark Link to comment
tuanphan Posted June 8, 2020 Share Posted June 8, 2020 On 6/4/2020 at 4:53 AM, markjjeffries said: Hi Tuanphan, I also need help with this. Many thanks, Mark If you share link to your site, we can check easier. 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
Daki86 Posted September 3, 2020 Share Posted September 3, 2020 Hi @tuanphan I'm also needing a hand with this.https://emu-leopard-zg7s.squarespace.com/home PW: JM2020! I'm trying to align the drop down text to the left hand side, so that it all sits in line with the "Our Services" text in the global nav. See screenshot attached for reference... I'm wanting to align all text where that guide is. Is this possible?!? Code I've used for the drop down nav here is: //Stylized Folder Dropdown Menu @linkBGColor: #2A6BA7; @linkTextColor: #fff; .header-nav .header-nav-item--folder .header-nav-folder-content { padding: 0; .header-nav-folder-item { padding: .3em 1em; } .header-nav-folder-item:hover { background: @linkBGColor; a { color: @linkTextColor; } } } Thanks so much for your help! Seriously appreciated! RAD. Link to comment
tuanphan Posted September 3, 2020 Share Posted September 3, 2020 7 hours ago, RADDesign said: Hi @tuanphan I'm also needing a hand with this.https://emu-leopard-zg7s.squarespace.com/home PW: JM2020! Add to Home > Design > Custom CSS .header-nav-folder-content { right: auto !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
Daki86 Posted September 4, 2020 Share Posted September 4, 2020 Thanks @tuanphan ! Just had to add in the "text-align" line and it worked. Much appreciate, as always! RAD. Link to comment
creativenap Posted November 18, 2020 Share Posted November 18, 2020 Hello @tuanphan! I could also use some support for my dropdown menu. My site is live: https://www.greenr-cleanr.com/ I would like both the dropdown menu box and the texts inside the box to be left aligned. After I added the codes you provided above, I got the dropdown menu (text box) to align left with the tab Services, but the texts inside the menu are still aligned to the right. Current code set: //Stylized Folder Dropdown Menu @linkBGColor: #78C144; @linkTextColor: #fff; .header-nav .header-nav-item--folder .header-nav-folder-content { padding: 0; .header-nav-folder-item { padding: .5em 1em; } .header-nav-folder-item:hover { background: @linkBGColor; a { color: @linkTextColor; } } } .header-nav-folder-content { right: auto !important; } Thank you! Nicole Link to comment
tuanphan Posted November 18, 2020 Share Posted November 18, 2020 15 minutes ago, creativenap said: Hello @tuanphan! I could also use some support for my dropdown menu. My site is live: https://www.greenr-cleanr.com/ I would like both the dropdown menu box and the texts inside the box to be left aligned. After I added the codes you provided above, I got the dropdown menu (text box) to align left with the tab Services, but the texts inside the menu are still aligned to the right. Current code set: //Stylized Folder Dropdown Menu @linkBGColor: #78C144; @linkTextColor: #fff; .header-nav .header-nav-item--folder .header-nav-folder-content { padding: 0; .header-nav-folder-item { padding: .5em 1em; } .header-nav-folder-item:hover { background: @linkBGColor; a { color: @linkTextColor; } } } .header-nav-folder-content { right: auto !important; } Thank you! Nicole Add to Home > Design > Custom CSS /* Align left dropdown */ .header-nav-folder-content { text-align: left !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
tuanphan Posted November 18, 2020 Share Posted November 18, 2020 I see on tablet, the icon doesn't look good. Do you want to increase width? 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
creativenap Posted November 18, 2020 Share Posted November 18, 2020 @tuanphan The code for alignment worked beautifully. Thank you so much! And thanks for catching the icon issue. I've just fixed it. However, I came across another issue I'm noticing on my iPad: the texts in the navigation menu are all mushed together... Link to comment
tuanphan Posted November 18, 2020 Share Posted November 18, 2020 4 hours ago, creativenap said: @tuanphan The code for alignment worked beautifully. Thank you so much! And thanks for catching the icon issue. I've just fixed it. However, I came across another issue I'm noticing on my iPad: the texts in the navigation menu are all mushed together... You can adjust line-height menu item 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
creativenap Posted November 19, 2020 Share Posted November 19, 2020 Ah yes, I just tried adjusting in the menu item and it seems to adjust the line hight between each nav tab only but not the texts within each individual tab/label. As you can see, mobile phone might be able to get away with the snug fitting ling spacing. The iPad view port, on the other hand, is still problematic. Any other solutions/workarounds or is my only option to shorten the texts for each tab? Link to comment
tuanphan Posted November 22, 2020 Share Posted November 22, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:1024px) { .header-nav-folder-item a { line-height: 25px; } } 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
lysshouse Posted November 22, 2020 Share Posted November 22, 2020 Hey @tuanphan could you help me as well? I was able to center the text but not the folder. The site is www.silvereagleadvisors.com/home and I'm using Brine. Link to comment
tuanphan Posted November 22, 2020 Share Posted November 22, 2020 1 hour ago, lysshouse said: Hey @tuanphan could you help me as well? I was able to center the text but not the folder. The site is www.silvereagleadvisors.com/home and I'm using Brine. Add to Home > Design > Custom CSS .Header-nav-folder * { text-align: left; } 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.