Jump to content

Full Width Images on a block

Recommended Posts

1 hour ago, iJizzy1 said:

Site URL: http://brondyhumphrey.com

Hello everyone,

I hope you are doing well?
I am currently trying to make this on the footer of my home page: 


159547740_Capture2.thumb.JPG.49a7c32088f315ca7b95281ac140463d.JPG

(this is a montage I made on Canva)

But for now it looks like this:

Capture.thumb.JPG.05dc2ff84fbe1b1dda62b1347ef67452.JPG

Do you think it is possible to make ? 

I wish you a beautiful day 🙂 

brondyhumphrey.com
password: soleil

 

You can assign the image as background image of the section, we can support to modify it as sided image like design

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
20 hours ago, iJizzy1 said:

Hello @bangank36, I just assigned the image as background !
(Will it look nice on mobile as well ?)

Use this CSS

/* Footer split layout */
@media screen and (min-width:768px) {
[data-section-id="6139da96d203ef247abc5142"] .section-background {
    width: 50%;
    margin-right: 50%;
}
[data-section-id="6139da96d203ef247abc5142"] {
    background-color: white;
}
}

In the next time, I recommed using this Split plugin to achieve above layout, you can customize everything easier.

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 12/1/2021 at 1:21 AM, iJizzy1 said:

Hello @tuanphan ,

It is not working on mobile. The sentence is on the image. Do you know what is the problem ?

 

Yes. The code run on desktop only. Because the text will be small on mobile. To make code run on all devices, use this code

[data-section-id="6139da96d203ef247abc5142"] .section-background {
    width: 50%;
    margin-right: 50%;
}
[data-section-id="6139da96d203ef247abc5142"] {
    background-color: white;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Does it make sense

image.png.1eb27066c91d041a1cf0ed983b829eba.png

Try

@media only screen and (max-width: 767px) {
  section[data-section-id="6139da96d203ef247abc5142"] .content-wrapper {
    width: 50%;
    margin-right: 0 !important;
  }

  section[data-section-id="6139da96d203ef247abc5142"] .content-wrapper a {
    font-size: 10px;
  }
}

Let me know how it works

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
20 hours ago, iJizzy1 said:

Hello @bangank36 and @tuanphan, could you find a solution ? 😇

 

Have you changed your password? soleil is  not possible at the moment

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
  • 2 weeks later...

@iJizzy1 Add to Design > Custom CSS

@media screen and (max-width:767px) {
[data-section-id="6139da96d203ef247abc5142"] {
&:before {
    content: "";
    display: block;
    background-image: url(https://images.squarespace-cdn.com/content/v1/6139da96d203ef247abc5117/1638185519604-55XFEVKX7XX5WE8T2LCB/fond-ecran-iphone-samsung-gratuit-ciel-nuage.jpg?format=original);
    width: 100%;
    height: 150px;
    background-size: cover;
    background-repeat: no-repeat;
}
img {
    opacity: 0;
}
.content-wrapper {
    background-color: white;
}
& {
    height: 420px !important;
    display: block !important;
}

.section-background {
    background-color: transparent;
}
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.