Jump to content

Images in a line all change sizes!

Recommended Posts

Posted

Site URL: https://www.homes-one.com

Hi,

In the footer I have logos (all images are square).

I would love for them to all sit on one line and keep the same proportion. 

As you can see, whenever I add 5 logos the proportions skew, making some large and some small, but never equal.

Is there a way to fix this? 

(I would make it all one image, but all need individual links!)

Thanks,

Claudia

Screenshot 2022-02-10 at 17.31.45.png

  • Replies 4
  • Views 437
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Add to Design > Custom CSS

/* Mobile 6 logos one line */
@media screen and (max-width:767px) {
div#page-section-60ca79af8b412b09097f7ef4 .span-12>.row>.col {
    width: 16.666% !important;
    float: left !important;
}
div#page-section-60ca79af8b412b09097f7ef4 .span-12>.row>.span-4 {width: 33.332% !important;}
div#page-section-60ca79af8b412b09097f7ef4 .span-12>.row>.span-4 .span-2 {
    width: 50% !important;
    float: left !important;
}
div#page-section-60ca79af8b412b09097f7ef4 .image-block {
    padding: 5px !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!)

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.