cynanc Posted March 16, 2023 Posted March 16, 2023 Hello SS. see: https://www.nerv.co.uk I've added some custom CSS chevrons to the end and beginning of sections as follows: This is an example of the code I am using: section[data-section-id="6411cfe88e268e5653a774b3"] { ::before { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; width: 50%; height: 100%; position: absolute; content: ""; bottom: 1.2em; left: 0; background: #EAECE7; -webkit-transform: skewY(4deg); transform: skewY(4deg); } &:after { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; width: 50%; height: 100%; position: absolute; content: ""; bottom: 1.2em; right: 0; background: #EAECE7; -webkit-transform: skewY(-4deg); transform: skewY(-4deg); } } It's fine on mobile and when the desktop browser is 'standard' width, but as you can see when the browser is stretched wider, the chevron breaks and the 'sharp' point in the middle is lost. Any smart folks out there able to help me fix this? Many thanks.
Beyondspace Posted March 16, 2023 Posted March 16, 2023 (edited) I can not see the problem on your site. Can you mark your issues on your images? Edited March 16, 2023 by Beyondspace BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! 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!
cynanc Posted March 16, 2023 Author Posted March 16, 2023 Thanks for coming back on this. On this one you can see the chevron breaks in the centre: And on this one you can see where the outside edges of the chevron don't overlap the block below and there is a crack of white instead of a solid background.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment