Tagged: categories, Portfolio, portfolio filter, portfolio grid
Hello,
I have a portfolio grid with category filter on top of it. I need some changes to be made to this filter element (js_sort_items):
1. Can the whole filter be center aligned? How?
2. How to disable/make invisible the “All” category? And then have the first filter element active (display) content)?
3. I need to have filter items in a specific order. How can this be achieved? (Currently it is sorted alphabetically)
Many thanks,
Peter
Hi TheElear!
Thank you for using Enfold.
1.) Use this on Quick CSS:
.avia-fullwidth-portfolio #js_sort_items {
text-align: center;
}
2.) I’m sorry but this is not possible without custom modification on the theme.
3.) Try to use this plugin to manually sort the portfolio categories: https://wordpress.org/plugins/taxonomy-terms-order/
Regards,
Ismael
Hi Ismael,
Many thanks for your quick reply.
This CSS does not center the filter unfortunately. Any other ideas?
regards,
TheElear
Hi Yigit,
This is is: http://allisonparkinson.co.uk/wp/my-work/
thank you,
Hey!
Please add following code to Quick CSS and adjust as needed
@media only screen and (min-width: 1024px) {
div#js_sort_items {
padding-left: 23%;
}}
Cheers!
Yigit
Many thanks Yigit.
This did the job.
regards,
PS. please close the thread