kathrynnicoledesigns Posted November 21, 2022 Share Posted November 21, 2022 (edited) I am trying to get the logo and the navigation within my header to align with the content in the grid below. As you can see I have a boxy style with my images and when the screen size is below 1200px this works perfectly but how can I get the header to be in this alignment when the screen size is above 1200px? https://juliajeckell.squarespace.com/ Password: juliajeckell Thank you in advance Edited November 21, 2022 by kathrynnicoledesigns typo Link to comment
Beyondspace Posted November 21, 2022 Share Posted November 21, 2022 2 hours ago, kathrynnicoledesigns said: I am trying to get the logo and the navigation within my header to align with the content in the grid below. As you can see I have a boxy style with my images and when the screen size is below 1200px this works perfectly but how can I get the header to be in this alignment when the screen size is above 1200px? https://juliajeckell.squarespace.com/ Password: juliajeckell Thank you in advance I check that it is fine now. Have you figured it out? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
kathrynnicoledesigns Posted November 21, 2022 Author Share Posted November 21, 2022 15 minutes ago, Beyondspace said: I check that it is fine now. Have you figured it out? No, I want the header to align with the edges as per the 1st image, not the 2nd. Link to comment
Beyondspace Posted November 21, 2022 Share Posted November 21, 2022 25 minutes ago, kathrynnicoledesigns said: No, I want the header to align with the edges as per the 1st image, not the 2nd. Is it what you mean? Try adding to Home > Design > Custom Css #collection-63790d581ee9237d631fabfc .header .header-announcement-bar-wrapper { box-sizing: border-box; width: calc(min(var(--sqs-site-max-width, 1500px), calc(100vw - var(--sqs-site-gutter, 4vw) * 2))); margin: 0 auto; padding-left:0; padding-right:0; } Hope it makes sense Support me by pressing 👍 or marking as solution if this useful for you kathrynnicoledesigns 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
kathrynnicoledesigns Posted November 21, 2022 Author Share Posted November 21, 2022 20 minutes ago, Beyondspace said: Is it what you mean? Try adding to Home > Design > Custom Css #collection-63790d581ee9237d631fabfc .header .header-announcement-bar-wrapper { box-sizing: border-box; width: calc(min(var(--sqs-site-max-width, 1500px), calc(100vw - var(--sqs-site-gutter, 4vw) * 2))); margin: 0 auto; padding-left:0; padding-right:0; } Hope it makes sense Support me by pressing 👍 or marking as solution if this useful for you That is what I mean but when I add this to the CSS I'm getting this error, "Operation on an invalid type". Any ideas what this means? Link to comment
kathrynnicoledesigns Posted November 21, 2022 Author Share Posted November 21, 2022 1 minute ago, kathrynnicoledesigns said: That is what I mean but when I add this to the CSS I'm getting this error, "Operation on an invalid type". Any ideas what this means? I have added this into the header though in a style tag and removed the id and this has worked <style> .header .header-announcement-bar-wrapper { box-sizing: border-box; width: calc(min(var(--sqs-site-max-width, 1500px), calc(100vw - var(--sqs-site-gutter, 4vw) * 2))); margin: 0 auto; padding-left:0; padding-right:0; } </style> tuanphan 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