Hello, I want to create my blog based on the Starterkit. I tried to put tags to my content and a tagcloud by using the Cookbook-article “Filtering content with tags”, but I failed.
What i tried is I copied the code from the Cookbook into the blog controller and the other code into the template blog.php. After doing so I had tags but the text in the blog lost his structure. It is shown from one edge of the screen to the other. Is it understandable what I mean?
What I want is first adding tags and a tagcloud to the Starterkit an then adapt the starterkit to my own needs. Would it be possible to tell me step by step what code I have to put in which file of the starterkit to get tags/tagcloud without loosing the structure of the site?
In general, that looks OK to me. But your problem stems from the fact that you have removed the section wrapper which styles the page via its wrap class. You should wrap all articles within a container div or main element, wrap the whole stuff within a container div and style the main container and sidebar so that they sit next to each other in your stylesheet (using floating divs, flexbox, or CSS grid).
I tried the controller from the cookbook but it has the same effect I described in my first mail. The text in the blog lost his structure. It is shown from one edge of the screen to the other.
Since a week I use every free minute to try to set up the blog. All the other things work and I can give them a nicer look step by step in the future. But without Tags the blog is incomplete.
Could you or someone else put the lines of code in it that seems lacking? I would be very grateful.
That is not a Kirby problem, but a problem with your HTML markup and your CSS styles. If you are new to that as well, I suggest you look into some resources that might help you get on track.
I didn’t change anything else at the starterkit (HTML markup or CSS styles).
Nevertheless thank you for your effort. Obviously I overestimated my ability to customize the starterkit. After reading the Cookbook-article I thought it would be manageable to create these function with reasonable effort.
I am at my wit’s end and don’t know if I should put more time in trying to set up the blog with Kirby or better looking for a more beginner-friendly cms.
I’m very sorry, it’s not quite clear to me what you are trying to do. But if you change the HTML markup, for example, because you want a sidebar sitting next to the main element, then you have to change your CSS as well to achieve what you want. If your are not familiar with HTML and CSS, then Kirby might really be a bit too much for the beginning, unless you are willing to learn for the future.
Please understand, though, that this forum is primarily dedicated to helping users with Kirby specific question and we can’t really do HTML or CSS support.
If you are looking for a ready to use solution, one of the Kirby themes might be the right thing for you. Have a look at getkirby-themes.com, it has a collection of free and paid themes for different purposes.