JonnyIlsley Posted April 19, 2023 Posted April 19, 2023 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
Solution tuanphan Posted April 22, 2023 Solution Posted April 22, 2023 Add this CSS under .list-item-content__title { display: flex; align-items: flex-start; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment