Jump to content

Adding bullet points to Auto Layout List sections

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi,

I am looking to add bullet points to Auto Layout list sections. 

See in the "Civil" tab half way down the page listed below: 

https://hexahedron-soybean-zdl8.squarespace.com/services

Password: testing123

At the moment, I am using this code to add a bullet point before using the :before css. 

//Bullet points before on an Auto Layout List section//
#collection-6363b479b0e3fe59d5ec7759{
.list-item-content__title:before {
    display: inline !important;
    content: "•" !important;
    color: #2b6777;
     font-size:1.3rem;
      margin: 0 3px;
}
}

 

This is working however, the only thing is, when text goes over 2 lines, the second line aligns itself left under the bullet point.

I would like to get it to alight left directly below the first letter in the first line of text. 

This is essentially adding the indent to the second and following lines.

 

I, however, am not sure how to achieve this. My initial thoughts are maybe I need to be targeting a different thing for my :before function.

 

Thanks in advance,

Jon

  • Replies 2
  • Views 847
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.