Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How to hide 'All category' in page menu


Recommended Posts

  • Replies 28
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...
  • 2 weeks later...
1 hour ago, Brig said:

@tuanphan sorry I was away for the holidays. Here is the link: https://orange-emu-7zlr.squarespace.com/config/

Thank you!

Add to Home > Design > Custom CSS

a.category-filter-link.category-filter-link-all {
    display: none;
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post
14 minutes ago, Brig said:

@tuanphan Thank you but it says Missing closing } although there is one at the end (see screenshot attached); what should I do?

Thank you! 

Screenshot 2019-12-31 at 13.42.24.png

Can you share all code in Custom CSS Box? I think other code is missing.

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post
5 minutes ago, Brig said:

@tuanphan Thanks but now the text next to the POA artworks has disappeared... does the , need to be next to the word details?

Line 9.5 was missing so Line 9 - Line 12 didn't work.

If you changed } to , Line 9 - Line 12 will work.

and there is another problem, you should check what Line 9 - Line 12 is doing on the website.

 

Edited by tuanphan

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post

@tuanphan all the previous lines were just to hide the pice for certain artworks with the Tag POA on both the home page and on each product page that had that tag. I have changed Line 9,5 with a , at the end instead of { like you said but I don't know how to get the text back on the POA artworks, which is more important than getting rid of the All category... Let me know what I should do exactly, otherwise I'll just change it the way it was.

 

Thank you!

Link to post
8 minutes ago, Brig said:

@tuanphan all the previous lines were just to hide the pice for certain artworks with the Tag POA on both the home page and on each product page that had that tag. I have changed Line 9,5 with a , at the end instead of { like you said but I don't know how to get the text back on the POA artworks, which is more important than getting rid of the All category... Let me know what I should do exactly, otherwise I'll just change it the way it was.

 

Thank you!

Can you paste all code here?

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post

@tuanphan here you go:

.tag-poa .product-price:before {
  content: 'POA';
}

.tag-poa .product-price .sqs-money-native {
  display: none;
}

.tag-poa .ProductItem-summary .ProductItem-details ,
  .sqs-add-to-cart-button-wrapper, .product-quantity-input {
  display: none;
  }
a.category-filter-link.category-filter-link-all {
    display: none;
}

Link to post
11 minutes ago, Brig said:

@tuanphan here you go:

.tag-poa .product-price:before {
  content: 'POA';
}

.tag-poa .product-price .sqs-money-native {
  display: none;
}

.tag-poa .ProductItem-summary .ProductItem-details ,
  .sqs-add-to-cart-button-wrapper, .product-quantity-input {
  display: none;
  }
a.category-filter-link.category-filter-link-all {
    display: none;
}

insert this code

.tag-poa .product-price:before {
  content: 'POA';
}

.tag-poa .product-price .sqs-money-native {
  display: none;
}

.tag-poa .ProductItem-summary .ProductItem-details {
  .sqs-add-to-cart-button-wrapper, .product-quantity-input {
  display: none;
  }
}
a.category-filter-link.category-filter-link-all {
    display: none;
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post
  • 1 month later...
  • 3 months later...

Hello! I need help! I tried this code out but the thin line in between each of my categories is still there.

Code and screenshot:

a.category-filter-link.category-filter-link {
    display: none;
}

 

 

Screen Shot 2020-05-15 at 10.08.46 AM.png

Link to post
  • 4 months later...
  • 1 month later...
15 hours ago, zachwellman said:

I am also interested in this., want to remove the all category.  My site is oregonbistro.com/takeout.

To hide "All", add to Home > Design > Custom CSS

#categoryNav ul li [href="/takeout"] {
    display: none;
}

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I came back. Will answer soon.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...