Sark Posted May 29, 2020 Share Posted May 29, 2020 Site URL: https://burgundy-carnation-bw5b.squarespace.com/ Hi all! I am having trouble aligning the text in the drop-down menus in my navigation bar. I wanted the drop-down menu text to be left-aligned and used this code to achieve that: } .header-nav-folder-item { text-align: left !important; } HOWEVER, for some reason now that drop-down menu is way off to the left and is totally off center from it's parent folder in the navigation bar. How do I keep the drop-down menu text left aligned but make sure it is sitting DIRECTLY underneath the parent folder? Thank you in advance! Link to comment
tuanphan Posted May 30, 2020 Share Posted May 30, 2020 Try adding to Home > Design > Custom CSS a.header-nav-folder-title:hover + div, .header-nav-folder-content { text-align: center !important; position: absolute; left: 50% !important; right: unset !important; -webkit-transform: translatex(-50%); -o-transform: translatex(-50%); transform: translatex(-50%); background: transparent !important; } fhoreilly and hummingbird 2 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
JanaH Posted December 28, 2020 Share Posted December 28, 2020 (edited) Site URL: https://www.backspacelaser.com/ Hi, I'm having the same problem. I've used the code above which works, but for some reason it only works on the first nav link... On 'SHOP' the text sits too far too the right. Edited December 28, 2020 by JanaH Link to comment
tuanphan Posted January 3, 2021 Share Posted January 3, 2021 On 12/28/2020 at 7:48 PM, JanaH said: Site URL: https://www.backspacelaser.com/ Hi, I'm having the same problem. I've used the code above which works, but for some reason it only works on the first nav link... On 'SHOP' the text sits too far too the right. Hi. Sorry for the delay. I was off some days for the new year, 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
zlinekitchen Posted February 11, 2021 Share Posted February 11, 2021 I'm having a related issue, where the first two menus are left-aligned, then the last menu is right-aligned for some reason? I'd appreciate any insight! Link to comment
tuanphan Posted February 14, 2021 Share Posted February 14, 2021 On 2/12/2021 at 6:30 AM, zlinekitchen said: I'm having a related issue, where the first two menus are left-aligned, then the last menu is right-aligned for some reason? I'd appreciate any insight! Can you share site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
joecosentino Posted February 20, 2021 Share Posted February 20, 2021 Thank you for the code, I played with the %'s a little and my drop down is now located where I want it also changed background to white so the drop down did not get lost in the websites text. Thank you for posting the basic code Link to comment
puslingpaahaender Posted November 10, 2021 Share Posted November 10, 2021 Will this work for the navigation menu in the shop? I have a code for a navigation menu on the category pages in the shop. But I have trouble aligning the Prints section which has a dropdown menu and is pushing everything around. Link to comment
puslingpaahaender Posted November 10, 2021 Share Posted November 10, 2021 The images were wrong. Here are the right ones. Link to comment
tuanphan Posted November 12, 2021 Share Posted November 12, 2021 On 11/10/2021 at 3:28 PM, puslingpaahaender said: The images were wrong. Here are the right ones. What is your site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
puslingpaahaender Posted November 12, 2021 Share Posted November 12, 2021 4 hours ago, tuanphan said: What is your site url? Hello tuanphan. I was reaching out on another site/question with the same trouble. You just answered there😊. It didn't solve the issue unfortunately. And I thought that a solution similar to that of the nav header and changing position of drop down might do the trick. If you'd like to take a look my url is www.storiesofsmallthings.com 12345julia I'd very much appreciate it. thank you! Link to comment
tuanphan Posted November 14, 2021 Share Posted November 14, 2021 On 11/12/2021 at 5:19 PM, puslingpaahaender said: Hello tuanphan. I was reaching out on another site/question with the same trouble. You just answered there😊. It didn't solve the issue unfortunately. And I thought that a solution similar to that of the nav header and changing position of drop down might do the trick. If you'd like to take a look my url is www.storiesofsmallthings.com 12345julia I'd very much appreciate it. thank you! Just answered. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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