Jump to content

How to display image/icon next to text instead of above (creating a list with icons)

Recommended Posts

Hi there!

I'm trying to create a list of services for our company website. Each service should be introduced with an icon. The only way i've figured out to do so is to insert the icon as image and add the name of the service as text block. It looks great on desktop, but it doesn't behave right on mobile.

Here's how it looks on desktop:alt text

Here's how I want it to look on mobile (stacking services with icons, one per line):alt text

However, on mobile the icons become full width and the service title ends up below the icon.

I think I need to solve this with custom CSS. Does anybody have an idea how I could do so?

Many thanks in advance!

bildschirmfoto-2019-08-12-um-205136.png.58d274e94a3871a8ef38cea2886975e3.png

bildschirmfoto-2019-08-12-um-205140.png.415df27629583c5291bb66e13585d959.png

Link to comment
  • 3 months later...
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

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.