Jump to content

Images resized for mobile - Degraw template

Recommended Posts

  • Replies 5
  • Views 407
  • Created
  • Last Reply
On 9/15/2021 at 3:31 PM, OldMate said:

I am trying to get full bleed images to resize on mobile so that that show in full, currently seem to be locked to a height meaning images focal points that are not central to the image are being cut-off. Any help would be appreciated.

Hi,

Can you share site url?

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 9/15/2021 at 3:31 PM, OldMate said:

I am trying to get full bleed images to resize on mobile so that that show in full, currently seem to be locked to a height meaning images focal points that are not central to the image are being cut-off. Any help would be appreciated.

Hi,

You mean the girl image or which image?

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

Hi,

You mean the girl image or which image?

All full bleed images where what I was trying to solve the issue for, so the girl image on the homepage and the full bleed image block on the services page.

Note: I have manually cropped the home page image to make it work for client approval, I would still prefer the image block be responsive to mobile using width rather than height of the block.

Link to comment
23 hours ago, OldMate said:

All full bleed images where what I was trying to solve the issue for, so the girl image on the homepage and the full bleed image block on the services page.

Note: I have manually cropped the home page image to make it work for client approval, I would still prefer the image block be responsive to mobile using width rather than height of the block.

Try adding this to Design > Custom CSS (this for image on homepage)

/* resize homepage image mobile */
@media screen and (max-width:767px) {
[data-section-id="61394b516866c938e302e24a"] {
	.section-background, .section-background-content {
    opacity: 1 !important;
}
img {
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain !important;
    height: auto !important;
}
.section-background-canvas.background-fx-canvas {
    opacity: 0 !important;
}
& {
    min-height: unset !important;
    height: 45vh;
}
}
}

image.thumb.png.e2cfee696b1b231ba67d5c99add0a2d5.png

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.