Hello,
since I have only recently started working with Kirby CMS and have little experience in php, I wanted to inquire whether it is possible to use checkboxes for categories.
Also I would then each check box a different color. Is that possible
Thanks for your quick reply. I think I was wrong, I wanted to edit the categories / checkboxes not in the panel / backend with CSS but in the front end / on the website.
Sure, but thats not something Kirby does, style is up to you via CSS. Depending on what you want, it can easy or hard to do this because checkboxes are not very style friendly. I usually hide the checkbox and style the label instead to look like a checkbox. This works because clicking on a label activates the checkbox associated with it.
Well, something like this. It sounds like what you are trying to create is a category filter…i’m guessing what you want to happen is for the posts to be organised on the page according to the ticked boxes? For that you will need to fetch the posts with Ajax and use javascript to filter it.