Keenan Posted March 12, 2023 Share Posted March 12, 2023 (edited) I am trying to align the left-hand side of the navigation items to the center line of the page/fluid engine grid below. See image attached. Red line indicates where I'd like the navigation to begin. https://antelope-flower-4d6y.squarespace.com/ Password: JMA Thank you in advance. Edited March 14, 2023 by Keenan Link to comment
tuanphan Posted March 16, 2023 Share Posted March 16, 2023 Add to Design > Custom CSS /* align center nav */ nav.header-nav-list { position: absolute; left: 50%; transform: translateX(-50%); top: 3px; } 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
Keenan Posted March 16, 2023 Author Share Posted March 16, 2023 Thanks Tuanphan. Sorry if it wasn't clear, but I would like the start of the navigation "Work" to align with the centre of the page. See image attached. Are you able to provide me code for this? Thanks in advance. Link to comment
Solution tuanphan Posted March 19, 2023 Solution Share Posted March 19, 2023 On 3/17/2023 at 5:13 AM, Keenan said: Thanks Tuanphan. Sorry if it wasn't clear, but I would like the start of the navigation "Work" to align with the centre of the page. See image attached. Are you able to provide me code for this? Thanks in advance. Remove above code & use this new code div.header-title { width: 50% !important; } .header-nav { text-align: left !important; padding-left: 0 !important; } cscholz and Keenan 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
Keenan Posted March 19, 2023 Author Share Posted March 19, 2023 Thank you Tuanphan, that works perfectly. 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