Jump to content

Avenue Template Mobile Single Column

Recommended Posts

Site URL: https://marisaannmccabe.com/

Hi, 

I was able to get the 2 column mobile default to collapse into a single column using the code below, however the thumbnail images are off center to the right. I believe the overflow is hiding the portion of the image on the right. Is there a way to center the image within the container?

// mobile single column
 @media only screen and (max-width: 767px) {
 #projectThumbs .project {
     width: inherit;
 }
 #projectThumbs .wrapper {
     overflow: hidden;
 } 
 }

Thanks!

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Solved the single column, but that caused the images to be off-center within the container. See attached for two screenshot examples.

Is there a way to center the images within the containers, so that the overflow doesn't disproportionately hide only the right side?

Thanks!

Screen Shot 2020-05-06 at 10.56.26 AM.png

Screen Shot 2020-05-06 at 10.56.42 AM.png

Link to comment

Add to Home > Design > Custom CSS

@media screen and (max-width:750px) {
a.project img {
    left: 0 !important;
    width: 100% !important;
    height: auto !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

Thank you but that did not work. It is still off-center and now has added space to the bottom of the container. See attached for reference.

Tried tinkering with it a bit myself, but couldn't figure it out, so any further help would be much appreciated. Thank you!

Screen Shot 2020-05-08 at 2.24.32 PM.png

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.