blix Posted August 29, 2020 Share Posted August 29, 2020 I am working on a site and I am having trouble having the dropdown menu align correctly when it opens. I was told if my navigation bar is adjusted to the right, this is what happens. I have changed the navigation bar position, such as to the left or center, and the dropdown menu works fine, but if adjusted to the right, it does not. Is there a code that I could use to correct this? Thank you! Link to comment
tuanphan Posted August 29, 2020 Share Posted August 29, 2020 Can you share site url? We can check easier. 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
blix Posted August 29, 2020 Author Share Posted August 29, 2020 https://rosajosies.squarespace.com/ dcookdesigns Link to comment
derricksrandomviews Posted August 29, 2020 Share Posted August 29, 2020 (edited) This is the code I used to align the drop down menu text on my site, align the nav bar the way you need it to be then add the code to custom css, you can change it to right or center if you wish. #topNav .main-nav .folder-, collection .subnav ul { text-align: left; } My Random Views Edited August 29, 2020 by derricksrandomviews Link to comment
blix Posted August 29, 2020 Author Share Posted August 29, 2020 It didn't work for me.... Link to comment
derricksrandomviews Posted August 30, 2020 Share Posted August 30, 2020 Give it a try again my copy to the post may have changed something, and that includes spaces. #topNav .main-nav .folder-collection .subnav ul { text-align: left; } Link to comment
tuanphan Posted August 30, 2020 Share Posted August 30, 2020 7 hours ago, derricksrandomviews said: Give it a try again my copy to the post may have changed something, and that includes spaces. #topNav .main-nav .folder-collection .subnav ul { text-align: left; } I think above site is 7.1, your code for 7.0 16 hours ago, blix said: It didn't work for me.... Incorrect password. 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
derricksrandomviews Posted August 30, 2020 Share Posted August 30, 2020 I thought that might be the case, 7.1 not 7.0. Link to comment
blix Posted August 30, 2020 Author Share Posted August 30, 2020 Sorry about that. Here you go! https://rosajosies.squarespace.com/ blix0522 this should work. Link to comment
derricksrandomviews Posted August 30, 2020 Share Posted August 30, 2020 I found this code for 7.1 drop down menus, once again change it to right or left. //-----dropdown menu alignment----- .header-nav-folder-item { text-align: left !important; } Link to comment
blix Posted August 30, 2020 Author Share Posted August 30, 2020 I will give it try and report back:) Thank you! Link to comment
blix Posted August 30, 2020 Author Share Posted August 30, 2020 no change, and I tried, left, right and center just for the heck of it. Nada. Link to comment
tuanphan Posted August 31, 2020 Share Posted August 31, 2020 Add to Home > Design > Custom CSS /* Center dropdown */ .header-nav-folder-content { left: 50% !important; transform: translateX(-50%); } 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
blix Posted September 1, 2020 Author Share Posted September 1, 2020 Thank you so much. It's finally working correctly. I appreciate everyone's help in resolving this glitch! Jeanette Link to comment
blix Posted September 1, 2020 Author Share Posted September 1, 2020 Hello, my navigation dropdown is perfect however one small request. My blue box is a little high and almost touching the text navigation. Could you tell me what I can insert in this code to drop it a little? /* Center dropdown */ .header-nav-folder-content { left: 50% !important; transform: translateX(-50%); text-align: center!important; width: 90px!important; } Thank you so much, Jeanette (7.1) Link to comment
tuanphan Posted September 1, 2020 Share Posted September 1, 2020 Quote top: 20px !important; 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
blix Posted September 2, 2020 Author Share Posted September 2, 2020 Thank you, I was going to try something like that, so I guess I am learning! Link to comment
hartley Posted February 19 Share Posted February 19 Old thread....but follow up question: That code worked to align one navigation dropdown menu, but not the second. How do I assign them different alignments? I want both dropdown menus to be under the "Shop+" category Link to comment
tuanphan Posted February 20 Share Posted February 20 22 hours ago, hartley said: Old thread....but follow up question: That code worked to align one navigation dropdown menu, but not the second. How do I assign them different alignments? I want both dropdown menus to be under the "Shop+" category Hi. What is your site url? We can check easier 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
hartley Posted February 20 Share Posted February 20 (edited) @tuanphanURL is https://www.heroncabinetry.com/ Im okay with the drop down menu coming from the left for both navigation titles, but i was hoping to move it slightly to the right so the green edge from the dropdown menu matches the black left edge of the "Shop" button. I also want to move the drop down menu down a tiny bit so it hits the bottom edge of the "Shop" button. Shown in the example, I've also included my custom CSS for the header: Edited February 20 by hartley Link to comment
tuanphan Posted February 20 Share Posted February 20 6 hours ago, hartley said: @tuanphanURL is https://www.heroncabinetry.com/ Im okay with the drop down menu coming from the left for both navigation titles, but i was hoping to move it slightly to the right so the green edge from the dropdown menu matches the black left edge of the "Shop" button. I also want to move the drop down menu down a tiny bit so it hits the bottom edge of the "Shop" button. Shown in the example, I've also included my custom CSS for the header: Don't remove any code in your current code. Add this to Design > Custom CSS .header-nav-item.header-nav-item--folder { position: relative !important; } .header-nav-folder-content { left: 0 !important; } hartley 1 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
hartley Posted February 20 Share Posted February 20 @tuanphanthat worked perfectly! thank you! Now do you know how I would lower the dropdown menu box so it doesn't cover any of the black "Shop" button? Link to comment
tuanphan Posted February 21 Share Posted February 21 3 hours ago, hartley said: @tuanphanthat worked perfectly! thank you! Now do you know how I would lower the dropdown menu box so it doesn't cover any of the black "Shop" button? Add margin-top .header-nav-folder-content { left: 0 !important; margin-top: 10px; } hartley 1 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