Jump to content

How do I stack my images on my homepage on Mobile using CSS?

Recommended Posts

Site URL: https://cristinabevia.com/

Hello!

I'm having an issue with the mobile version of my site. The single banner images are two per row and very very small. I'm hoping to make each image one row without changing the look of my desktop version. 

For some context, this home page is an index page and the images link to these pages. 

I'm very new to CSS and have had a hard time seeing any changes when I write codes I've been finding. 

Screen Shot 2022-03-09 at 8.27.05 AM.png

Link to comment
  • Replies 1
  • Views 321
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

It looks like you solved with this CSS?

@media screen and (max-width: 700px) {
    #projectThumbs .project {
        float:;
        width: 100% !important;
        right: 3.3% !important
    }

    #projectThumbs .project img {
        width: 100% !important;
        height: auto !important;
        left: 0 !important;
        top: 0 !important
    }
}

 

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.