Jump to content

Horizontally center svg icons in a two grid column

Recommended Posts

I'm trying to center-align svg icons in a two column grid. I tried using this:

<div style="text-align:center;margin-left:auto;margin-right:auto"">

 When I'm in editing mode it seems to be working, but whenever I save and get back, everything collapses and turns into just one column.

Anyone knows how to fix this?

Link to comment
  • 3 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.