SteveBarrett Posted October 20, 2022 Share Posted October 20, 2022 Hi everyone, Does anyone know how to make the dropdown menu sections and text align to the left using CSS. I believe the standard is right-aligned. See screenshots below: Thanks in advance, Steve. https://www.artofair.ie/ Link to comment
Ziggy Posted October 20, 2022 Share Posted October 20, 2022 This will align the text to the left, and align the box to the right: .header .header-layout-nav-right .header-nav .header-nav-item--folder .header-nav-folder-content { left: -1em; right: auto; text-align: left; } Let me know if that helps! boliverxed, tuanphan, SteveBarrett and 2 others 5 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
SteveBarrett Posted October 20, 2022 Author Share Posted October 20, 2022 Perfectly, Ziggy! Thank you. Ziggy 1 Link to comment
irenehoffman Posted February 9, 2023 Share Posted February 9, 2023 On 10/20/2022 at 12:10 PM, Ziggy said: This will align the text to the left, and align the box to the right: .header .header-layout-nav-right .header-nav .header-nav-item--folder .header-nav-folder-content { left: -1em; right: auto; text-align: left; } Let me know if that helps! Thank you! Worked for me, too. Ziggy 1 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