Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Avenue Template Mobile Single Column


MMDesign

Question

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 post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0

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 post
  • 0

Add to Home > Design > Custom CSS

@media screen and (max-width:750px) {
a.project img {
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
}
}

 

Link to post
  • 0

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 post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...