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

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

 


 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

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.


 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

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

 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

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?


 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

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

 


 Send me a message if you have any questions.

OFF forum from Jan 16 - Jan 31 for Lunar New Year.

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