Hide items from specific category on portfolio page
Hello, friends.
I saw a Forum topic where we could hide any category(es) from the portfolio's category menu through a CSS implementation on the page custom CSS field. So far so good.
However, my objective is to hide a item or items belonging to a specific category together with the category's name (and this last I already know how to do as I sad above). But there is a trouble: if I exclude some category via theme or page builder widget setup, the default betheme filter doesn't show anymore. The link below shows the page called "Serviços" with the filter style that I wish to keep. Finally, I'm just looking for an implementation that hides some category and the products vinculated with it too. Thanks!
However, my objective is to hide a item or items belonging to a specific category together with the category's name (and this last I already know how to do as I sad above). But there is a trouble: if I exclude some category via theme or page builder widget setup, the default betheme filter doesn't show anymore. The link below shows the page called "Serviços" with the filter style that I wish to keep. Finally, I'm just looking for an implementation that hides some category and the products vinculated with it too. Thanks!
Comments
we are sorry but this is not possible unfortunately. Items does not have individual classes that could be used to catch them by css rules.
Thanks!
I added this CSS to a specific page where I show the portfolio:
/* This hide the button */
.nameofthecategory {
display: none !important;
}
/* This hide the portfolio */
.category-nameofthecategory {
display: none !important;
}
Just change the name in red to match the category you want to hide.
Hope this works for you as well.
http://fuji-shinyou.com/projects/
i want hide all category except "Project"
my CSS is .feature {
display: none !important;
}
.category-feature {
display: none !important;
}
.Moving Walks{
display: none !important;
}
.category-Moving Walks{
display: none !important;
}
but those category item still there... why?
You are missunderstanding the purpose of this css. It is not to hide elements on the page but to hide the category from the filter. Regardless of that, those will still appear on the page.
thanks
Hello
I've tried it and it works - category button and category content are hidden - But I'm facing a problem of display with mansony style, all my portfolio items move in a single colum. Did you face this ? how did you solve it ?
Hi @support_dynamicmarketing,
Please always attach a link to your website so we can check it out. If the page is offline(localhost) then our help will be limited, you will have to contact us when the page is online. Also please make sure that the page is not under maintenance before you provide us the link.
thanks