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

How to hide 'All category' in page menu

Recommended Posts

Can you share link to your site? @The_Style_Platform


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

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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

 


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

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
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?


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

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
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 faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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 faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
10 minutes ago, Brig said:

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

Thanks!

 

Line 9,5, It should be , not {


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

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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 faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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!

Share this post


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 faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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

Share this post


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 faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

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

Share this post


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...