Jump to content

Keeping icons side by side in mobile

Recommended Posts

Site URL: https://www.efficience.ma

Hello guys!

 

I have a slight issue with my website regarding icons, I have made a small menu in a section which contains 6 image blocks which are linked to different pages on my site. On desktop they look fine but on mobile they become huge and stack on top of each other. How can i prevent this from happening? Should i format it a different way or should i inject some sort of custom code? 

 

Website in question: www.efficience.ma

 

Any input is greatly appreciated! Thank you in advance.

 

Regards.

Screenshot 2020-09-24 at 12.42.51.png

Screenshot 2020-09-24 at 12.43.19.png

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

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
div#block-bbcd22ee0280b4ec2919+.row>.col {
    width: 20% !important;
    float: left !important;
}
div#block-bbcd22ee0280b4ec2919+.row>.col * {
    font-size: 10px;
}
}

 

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
19 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:767px) {
div#block-bbcd22ee0280b4ec2919+.row>.col {
    width: 20% !important;
    float: left !important;
}
div#block-bbcd22ee0280b4ec2919+.row>.col * {
    font-size: 10px;
}
}

 

It worked, it bumped one icon down below but its way better than before. Thank you so much!

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.