dnmddy Posted March 18 Share Posted March 18 Can anybody help me order and stack the header actions components? At about 1160px wide, when the main nav stacks on the left, I want the header actions to stack on the right, but also change order: social media icons, button, language switcher. I'd also like the social media and language switcher to be centered above and below the button, but the button should remain aligned right... https://sycamorecollab.org/ Here is a screen shot of how I want it to look: Link to comment
sorca_marian Posted March 18 Share Posted March 18 Like this? .header-display-desktop .header-title-nav-wrapper .header-nav-list { display: flex; flex-direction : column; align-items: baseline; } .header-display-desktop .header-actions--right { flex-direction : column; width: auto; } .header-display-desktop .header-actions-action--social { order : -2; } .header-display-desktop .header-actions-action--cta { order : -1; margin-top : 5px; margin-bottom : 5px; } dnmddy 1 👨🔧👨💻 Contact me for development work - I’m a Freelancer Software engineer, Architect, and Designer UI/UX 🙋♂️ Squarespace Custom Web Development & Design 📅 Manage Tasks, Take Notes, and Upload Related Images 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
dnmddy Posted March 18 Author Share Posted March 18 Nice! That is really close to perfect, except on the rest of my pages I do have the logo showing in the header and the alignment is off. Thank you so much for your quick help! Link to comment
Solution sorca_marian Posted March 18 Solution Share Posted March 18 Updated .header-display-desktop .header-title-nav-wrapper .header-nav-list { display: flex; flex-direction : column; align-items: baseline; } .header-display-desktop .header-nav { flex: 0; } .header-display-desktop .header-nav, .header-display-desktop .header-actions--right { flex-direction : column; width: auto; } .header-display-desktop .header-actions-action--social { order : -2; } .header-display-desktop .header-actions-action--cta { order : -1; margin-top : 5px; margin-bottom : 5px; } dnmddy 1 👨🔧👨💻 Contact me for development work - I’m a Freelancer Software engineer, Architect, and Designer UI/UX 🙋♂️ Squarespace Custom Web Development & Design 📅 Manage Tasks, Take Notes, and Upload Related Images 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
dnmddy Posted March 18 Author Share Posted March 18 Lovely. Perfect. Thank you @sorca_marian! sorca_marian 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