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

Can you share link to your site? @The_Style_Platform

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
42 minutes ago, chriscollinge said:

I am also interested in this!  My site is: https://www.supercoffeefood.com/shopfood 

add to home > design > custom css

.ProductList-filter-list-item:first-child {
    display: none !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 4 weeks later...
19 minutes ago, Brig said:

Hi! Is it possible to change the "all" category with another name, like featured for example?

Thank you!

Yes. You can use CSS or JavaScript to edit text. Can you share link to your site?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 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;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
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.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
10 minutes ago, Brig said:

@tuanphan attached are all the codes but the previous ones work.

Thanks!

 

Line 9,5, It should be , not {

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
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

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

@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 comment
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?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

@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 comment
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;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 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 comment
  • 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;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

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

√ó
√ó
  • Create New...