Jump to content

Project Page image display on mobile (York family)

Recommended Posts

Site URL: https://www.olivianeagle.com

hello! 

i have a portfolio website at olivianeagle.com that uses the Lange template and I have a few questions. 

1. currently on the  mobile view of my site, the banner images on pages ive used the "project" template for  are cropping very weirdly. these are the three pages that are effected: 

the images are super zoomed in, like this: 

IMG_3371.thumb.jpeg.4737c46474940d61b83e767a77d2bc31.jpeg

 

is it possible to fix this? i want them just to crop to the same aspect ratios as they do on desktop. 

 

2. you previously helped me with the tile images on my mobile site in this thread. it looks so much better and thank you so much for your help. the only outstanding issue is that theres an odd black line on the "Build for Everyone" page, and that image is not centered. not a big deal, but is it possible to fix that? 

 

this is the custom code i currently am using the resize those images on mobile: 

/* Resize mobile images */
@media screen and (max-width:640px) {
body.homepage div.index-section figure img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 0 !important;
}
body.homepage div.index-section {
    min-height: unset !important;
    height: 170px;
}
div.index-section .sqs-video-background {
    height: auto !important;
}
}

 

Let me know if it is possible to fix those two things. thank you for all your help!! 

Link to comment
  • Replies 3
  • Views 248
  • Created
  • Last Reply

Hi.

Q1.Add to Page Header (Hover on project >> Click Gear icon to open Page Header)

<style>
  /* resize mobile image */
  @media screen and (max-width:640px) {
  .page-banner-image-container.collection-thumbnail-image-container.content-fill img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
}
    .page-banner-wrapper.page-banner-has-image {
    height: 250px !important;
}
  }
</style>

image.thumb.png.f19274d0427d39d7de59bfb3e0e8b073.png

 

Q2. Can you take a screenshot black line?

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

hi @tuanphan

 

1. im a bit confused about the page heade.r i was able to get the header open, but can you explain where to inject that code? 1671433050_ScreenShot2021-05-04at11_22_36AM.thumb.png.0fa48098640de38f0c0c7097fd617505.png

 

2. im attaching a screenshot of the black line below:

 IMG_4378.thumb.jpeg.4bbc8f17236dda39b27ea85a807d6a45.jpeg

it is above the "build for everyone" project tile. 

 

thank you for all your help! really appreciate it. 

 

thanks, 

olivia

 

 

 

2. 

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.