Jump to content

Overlap images and sections with 7.1

Go to solution Solved by tuanphan,

Recommended Posts

  • Solution
/* 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;
}

 

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
  • 4 weeks later...

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
  • 2 months later...

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;
}
}

 

Screen Shot 2020-06-29 at 1.25.33 PM.png

Edited by 44degreesnorth
attached image
Link to comment
  • 3 months later...
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.

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
  • 3 weeks later...

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
  • 2 months later...

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 Sections
https://squarekicker.com/letsmakethis/squarespace-layout-overlapping-blocks-between-two-sections 

Overlapping Blocks Between Two Sections.png

SquareKickerHi, 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
  • 1 year later...
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.