gregbarbosa Posted March 19, 2020 Share Posted March 19, 2020 (edited) Site URL: https://www.weareteller.com I'm trying to have images overlap different sections like the attached image. Using negative margins I can get it to move outside the container, but don't know how to get it to overlap. Edited March 19, 2020 by gregbarbosa Link to comment
Solution tuanphan Posted March 19, 2020 Solution Share Posted March 19, 2020 /* remove section bottom padding */ [data-section-id="5ddd4eb4522cc3312c5226a6"] .content-wrapper { padding-bottom: 0 !important; } /* remove overflow hidden */ div#block-yui_3_17_2_1_1584647118148_10720 .image-block-wrapper { overflow: visible !important; } /* overlap image */ div#block-yui_3_17_2_1_1584647118148_10720 img { width: auto !important; bottom: -20% !important; top: unset !important; right: 0; z-index: 999; } gregbarbosa 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
gregbarbosa Posted April 17, 2020 Author Share Posted April 17, 2020 Okay I must be going crazy now. That code no longer works. It's now stuck behind again. Is there a change I broke or something else I have to do? Here's the code I'm using (I re-added the image so the block-yui changed): /* remove section bottom padding */ [data-section-id="5ddd4eb4522cc3312c5226a6"] .content-wrapper { padding-bottom: 0 !important; } /* remove overflow hidden */ div#block-yui_3_17_2_1_1587085802684_25650 .image-block-wrapper { overflow: visible !important; } /* overlap image */ div#block-yui_3_17_2_1_1587085802684_25650 img { width: auto !important; bottom: -20% !important; top: unset !important; right: 0; z-index: 999; } Link to comment
44degreesnorth Posted June 29, 2020 Share Posted June 29, 2020 (edited) I used the following to get an overlap feature for an image card block in one section to bleed over the edge into the section below it. You just need to change the #block-yui IDs in each. Mine was acting a little funny on smaller widths so I added the screen width settings too. I had this particular section at the "custom" height of 10 (the smallest it'll go), so you may have to tweak the top: 10vh number in the first set of CSS if you have a taller section. @media only screen and (min-width: 800px){div#block-yui_3_17_2_1_1593439438559_11782 { width: auto !important; bottom: -20% !important; top: 10vh !important; right: 0; z-index: 999; }} @media only screen and (max-width: 799px){div#block-yui_3_17_2_1_1593439438559_11782 { width: auto !important; z-index: 999; padding-top: 20px !important; } .sqs-block-image .design-layout-poster .image-card { width: 87%; padding-top: 30px !important; } } Edited June 29, 2020 by 44degreesnorth attached image Link to comment
OliviaEarle Posted September 30, 2020 Share Posted September 30, 2020 Can anyone provide an update for this because neither code works. 😞 Link to comment
tuanphan Posted October 2, 2020 Share Posted October 2, 2020 On 10/1/2020 at 2:44 AM, olivianearle said: Can anyone provide an update for this because neither code works. 😞 Can you share your site url & simple mockup? We can check easier. creedon 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
gogreenmsu Posted October 21, 2020 Share Posted October 21, 2020 Hello, I am having difficulty with this, too. I am looking to use a singular image that spans the height (and width) of my entire home page instead of having the image be cut off at the end of the section that it is in. https://www.takebackyourcareerpodcast.com/ password: boots135 Example: https://www.thefridayhabit.com/ (see background image is spanning all sections, so it appears). Thank you Link to comment
tuanphan Posted October 21, 2020 Share Posted October 21, 2020 Which image? Can you share link to an image? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
gogreenmsu Posted October 24, 2020 Share Posted October 24, 2020 Hi tuanphan, See here: Thanks Link to comment
gogreenmsu Posted October 29, 2020 Share Posted October 29, 2020 On 10/21/2020 at 7:11 AM, tuanphan said: Which image? Can you share link to an image? Hi Tuanphan! Checking in on your thoughts, here! Link to comment
Nick_SquareKicker Posted January 24, 2021 Share Posted January 24, 2021 Hi @gregbarbosa, If you are still looking for a solution for this. SquareKicker recently release a new Squarespace Extension which is a no-code tool that gives you the ability to customise your site without having to write a single line of code (including the control to overlap images) using a visual builder. VIDEO: Squarespace Layout: Overlapping Blocks Between Two Sectionshttps://squarekicker.com/letsmakethis/squarespace-layout-overlapping-blocks-between-two-sections Hi, I'm Nick, CEO & Co-Founder at squarekicker.com. Take your Squarespace sites to the next level with SquareKicker's No-Code Design & Animation Extension. Break free from templates & complex code and start building unique websites that you are proud to show your clients without ever having to write a single line of code. Tutorials ● News ● Inspiration ● Features ● FAQS Link to comment
MMEbyKiandraTrickett Posted March 20, 2022 Share Posted March 20, 2022 I've done this for a 7.0 website and the mobile view is absolutely terrible. Any solutions anyone knows of? @tuanphan? https://allpilatestas.squarespace.com/ password: hello Link to comment
tuanphan Posted March 21, 2022 Share Posted March 21, 2022 On 3/20/2022 at 10:28 AM, MMEbyKiandraTrickett said: I've done this for a 7.0 website and the mobile view is absolutely terrible. Any solutions anyone knows of? @tuanphan? https://allpilatestas.squarespace.com/ password: hello Which section are you referring to? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
freshlypressed Posted March 15 Share Posted March 15 Hi does anyone know if it's possible to overlap the image of my hero banner over the section below? Here's how it looks right now: and how I want it to look: Site: wise-guidance.squarespace.com PW: Wg1234567 Ziggy 1 Link to comment
pentool Posted March 15 Share Posted March 15 (edited) Are you sure you guys not overthinking this a little? Does it HAVE TO BE two sections? Why? You can totally fake it with a single section make it look like two. Works on mobile, too. Description is on the page. PW: Accordion https://elephant-apricot-d89n.squarespace.com/overlap Edited March 15 by pentool Ziggy 1 Link to comment
Ziggy Posted March 15 Share Posted March 15 10 hours ago, freshlypressed said: Hi does anyone know if it's possible to overlap the image of my hero banner over the section below? @pentool makes a great point, adjusting the background to include the stripe at the bottom works well. An alternative is to use a rectangular shape block, stretch it to the left and right edges and use the fill screen option on the section to allow you to join the shape to the bottom of the section. freshlypressed 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
Nick_SquareKicker Posted March 15 Share Posted March 15 Hi @freshlypressed, you can use SquareKicker for this. Great when you want to keep your background banner images or videos with background image effects etc and then overlap a block over another section. See instructions below. In Fluid Engine: 1.) Make the Section Content align to the bottom with Fluid Engine first so you do not have to move it past the Section padding or remove the Section "Fill Screen" to remove the section padding. 2.) Next use the SquareKicker Section Tool to adjust the "Layer Level" to 1. You will need this to adjust the z-index of the section to make sure the image does not get cropped when you move it down. 3.) Lastly move the image block to the bottom of the section and use the SquareKicker position tool to move the image block down. SquareKicker > Position > Vertical. Note: this is automatically set to 0 on mobile devices so you don't need to set a device specific code, but you can micro manage this per devices with SquareKicker. Once you are done, if you don't need to make anymore changes you can cancel SquareKicker and all your saved custom code changes will save forever without an on going subscription. Here is a video showing the Position tool in use. Hi, I'm Nick, CEO & Co-Founder at squarekicker.com. Take your Squarespace sites to the next level with SquareKicker's No-Code Design & Animation Extension. Break free from templates & complex code and start building unique websites that you are proud to show your clients without ever having to write a single line of code. Tutorials ● News ● Inspiration ● Features ● FAQS Link to comment
elizablake Posted May 4 Share Posted May 4 Hello @tuanphan! I have tried everything in this thread with a similar issue. I want the fruit to overlap sections like the below image, but they just go behind the section no matter what I try. From my research it seems the z-index is what usually makes elements come to the front, but nothing is working. Please help! Please see my site below: https://violet-impala-rgjr.squarespace.com/ password: celebrate101 Link to comment
tuanphan Posted May 6 Share Posted May 6 On 5/4/2023 at 1:48 PM, elizablake said: Hello @tuanphan! I have tried everything in this thread with a similar issue. I want the fruit to overlap sections like the below image, but they just go behind the section no matter what I try. From my research it seems the z-index is what usually makes elements come to the front, but nothing is working. Please help! Please see my site below: https://violet-impala-rgjr.squarespace.com/ password: celebrate101 Don't remove any code in your current code Add this to Design > Custom CSS [data-section-id="6453213e2f1c110bfd8d7c4b"] { z-index: 9 !important; } elizablake 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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