Jump to content

Full bleed image block + text beside

Recommended Posts

You want it kinda like this?

image.thumb.png.da0a9c360f69f3e4e6e7028428367af9.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Since 7.1 not allow to identify the section by it's name, we can only use generated ids, so I suggest you do these things to apply it to more than 01 section across the page

1. You should rename your image using naming convention manner, eg a common prefix will be used on all similar purpose image: full_bleed_yourimagename.png...

2. Notify me when you done I will send a script + css to re-style it like so, next time all image with same prefix will act the same way you dont have to add individual ids to the custom css

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
1 minute ago, bangank36 said:

Since 7.1 not allow to identify the section by it's name, we can only use generated ids, so I suggest you do these things to apply it to more than 01 section across the page

1. You should rename your image using naming convention manner, eg a common prefix will be used on all similar purpose image: full_bleed_yourimagename.png...

2. Notify me when you done I will send a script + css to re-style it like so, next time all image with same prefix will act the same way you dont have to add individual ids to the custom css

Images on that page have been re-named.

Link to comment
2 hours ago, Jessummers said:

Images on that page have been re-named.

There are code block

1. Into Advanced->Custom Injection->Footer

<script>
	window.Squarespace.onInitialize(Y, function() {
      Y.all('.sqs-block-image img[src*="full_bleed"]').each(function() {
        var url = this.getAttribute("src");
        var file_name = url.substring(url.lastIndexOf('/')+1);
        this.ancestor(".row").addClass("sqs-block-image-row");
        this.ancestor("section.page-section").setAttribute("data-image-name", file_name);
      });
    });
</script>

2. Custom Css

@media only screen and (min-width: 1024px) {
    section.page-section[data-image-name*="full_bleed"] .sqs-block-image {
        margin-top: -3.3vw;
        margin-bottom: -3.3vw;    
        padding: 0 !important;  
    }
    section.page-section[data-image-name*="full_bleed"] .sqs-block-image-row .col:first-child .sqs-block-image {
      margin-left: -3vw;
    }
    section.page-section[data-image-name*="full_bleed"] .sqs-block-image-row .col:last-child .sqs-block-image {
      margin-right: -3vw;
    }
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 10 months later...

Hi! This is exactly what I'm trying to do as well but the code isn't working. I renamed the image and added the Footer code and Custom CSS code.

 

How do I find the link to give you access to the site? This is on Portfolio > Brand Strategy. Down where it says "brand guidelines." The image uploading here is failing.

https://oboe-herring-genb.squarespace.com/portfolio/brand-strategy

noliarootssite

Thanks!

Shelly

Link to comment
15 hours ago, shellyhughes_ said:

Hi! This is exactly what I'm trying to do as well but the code isn't working. I renamed the image and added the Footer code and Custom CSS code.

 

How do I find the link to give you access to the site? This is on Portfolio > Brand Strategy. Down where it says "brand guidelines." The image uploading here is failing.

https://oboe-herring-genb.squarespace.com/portfolio/brand-strategy

noliarootssite

 

Thanks!

Shelly

Add to Design > Custom CSS

/* Brand Guidlines */
[data-section-id="613f70de5c846b310825d635"] .content-wrapper {
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
div#block-yui_3_17_2_1_1631547596159_16207 {
    padding-bottom: 0px !important;
}
html, body {
	overflow-x: hidden;
}

 

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
8 hours ago, tuanphan said:

Add to Design > Custom CSS

/* Brand Guidlines */
[data-section-id="613f70de5c846b310825d635"] .content-wrapper {
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
div#block-yui_3_17_2_1_1631547596159_16207 {
    padding-bottom: 0px !important;
}
html, body {
	overflow-x: hidden;
}

 

Thank you! It seemed to help but now it looks like it's just pushed to the right bottom, not taking up the whole section. There is space on the top and even on the right when i make it full screen.

Screen Shot 2021-09-14 at 11.52.19 AM.png

Screen Shot 2021-09-14 at 11.56.36 AM.png

Link to comment
On 9/14/2021 at 11:26 PM, shellyhughes_ said:

Thank you! It seemed to help but now it looks like it's just pushed to the right bottom, not taking up the whole section. There is space on the top and even on the right when i make it full screen.

Screen Shot 2021-09-14 at 11.52.19 AM.png

Screen Shot 2021-09-14 at 11.56.36 AM.png

Use this new code

/* Brand Guidlines */
[data-section-id="613f70de5c846b310825d635"] .content-wrapper {
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    max-width: 100% !important;
}
div#block-yui_3_17_2_1_1631547596159_16207 {
    padding-bottom: 0px !important;
    padding-right: 0 !important;
}
div#block-yui_3_17_2_1_1631547596159_16207 figure {
    margin-right: 0 !important;
}
html, body {
	overflow-x: hidden;
}
@media screen and (max-width:767px) {
    div#block-yui_3_17_2_1_1631547596159_16207 {
    padding-left: 0 !important;
}
[data-section-id="613f70de5c846b310825d635"] .content-wrapper {
	padding-left: 0 !important;
}
[data-section-id="613f70de5c846b310825d635"] .html-block {
	margin-left: 5vw !important;
	margin-right: 5vw !important;
}
}

 

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.