Jump to content

[Share] Hide an item from Simple List

Recommended Posts

Posted

To hide an item from Simple List, you can follow these.

#1. First, find Simple List ID

In my example, it is:

section[data-section-id="66fab517733864572d0d7868"]

image.png.065f0249e00652f3ba4839a18e74fc58.png

#2. Use CSS code like this to Website Tools > Custom CSS

section[data-section-id="66fab517733864572d0d7868"] li:nth-child(2) {
  display: none;
}

code will hide item 2 from List Simple

image.png.0d7a02a16c9bb94c0ed66ea1f49a4588.png

#3. If you want to apply this for desktop only, use this new CSS code

@media screen and (min-width:768px) {
  section[data-section-id="66fab517733864572d0d7868"] li:nth-child(2) {
    display: none;
  }
}

#4. If you want to apply this for mobile only, use this CSS code

@media screen and (max-width:767px) {
  section[data-section-id="66fab517733864572d0d7868"] li:nth-child(2) {
    display: none;
  }
}

 

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

  • Replies 0
  • Views 402
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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.