Jump to content

Remove tick icons from all lists

Recommended Posts

Posted

Site URL: https://ultrashield-test-site.squarespace.com/

Morning!

I have added CSS to my test site to have tick icons on lists instead of bullet points but it has added ticks to the 'Meet the team' template as I am assuming that it's based on a list? Can anyone help me remove them from the 'Meet the team' section on the about page but leave them on the other pages please?

The ticks are also showing up when I click 'Add a section' which I would like removed too. 

Password for site is ultrashield

The CSS I used to replace the bullet points in lists is below

ul[data-rte-list] li>*:first-child::before 
{content: " " !important;}  
ul li:before{
content: '';
display:inline-block;
background-image: url(https://static1.squarespace.com/static/6152c22e5f436533ff973505/t/615d6ea347308d4417d54a8f/1633513123909/Ultrashield+tick.png);
background-repeat: no-repeat;
background-size: 20px;
background-position: center;
width: 20px;
height: 20px;
position: absolute;
margin-left: -25px;
margin-right: 0px;
margin-top: 5px;
margin-bottom: 0px;
}
 

Thank you

  • Replies 8
  • Views 439
  • Created
  • Last Reply
Posted
19 hours ago, treaves said:

Site URL: https://ultrashield-test-site.squarespace.com/

Morning!

I have added CSS to my test site to have tick icons on lists instead of bullet points but it has added ticks to the 'Meet the team' template as I am assuming that it's based on a list? Can anyone help me remove them from the 'Meet the team' section on the about page but leave them on the other pages please?

The ticks are also showing up when I click 'Add a section' which I would like removed too. 

Password for site is ultrashield

The CSS I used to replace the bullet points in lists is below

ul[data-rte-list] li>*:first-child::before 
{content: " " !important;}  
ul li:before{
content: '';
display:inline-block;
background-image: url(https://static1.squarespace.com/static/6152c22e5f436533ff973505/t/615d6ea347308d4417d54a8f/1633513123909/Ultrashield+tick.png);
background-repeat: no-repeat;
background-size: 20px;
background-position: center;
width: 20px;
height: 20px;
position: absolute;
margin-left: -25px;
margin-right: 0px;
margin-top: 5px;
margin-bottom: 0px;
}
 

Thank you

You can add to Home > Design > Custom Css

#collection-6152c7372a8db8693c9d809f .user-items-list-item-container li:before {
  display:none;
}

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

Actually it worked perfectly on the about us page but not on the 'Add a section' pop up. It's obviously not on the live site so it doesn't matter too much but it would be good to give my clients are perfect site.

Screen Shot 2021-10-12 at 6.54.37 AM.png

Posted
On 10/12/2021 at 12:56 AM, treaves said:

Actually it worked perfectly on the about us page but not on the 'Add a section' pop up. It's obviously not on the live site so it doesn't matter too much but it would be good to give my clients are perfect site.

Screen Shot 2021-10-12 at 6.54.37 AM.png

Try adding this code (don't remove above code)

body.sqs-edit-mode, body.sqs-edit-mode-active {
ul[data-rte-list] li>*:first-child::before {
	opacity: 0 !important;
}
}

 

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!)

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.