Is it possible to selectively center titles in specific pages using the Learn4 theme, and is it possible to center all of the titles? I’ve asked several AI’s how to do it, and none of the things they say to do work. However, I’ve found Grok, ChatGPT, Claude, Gemini and Copilot to be extremely helpful in many other instances, and I could not have accomplished what I have without their help. I now have a working website with a lot of content, and I’m trying to fine tune it a little.
Extend theme and create a new page template where you would center the title or just add a custom CSS where you would center all titles
Is it possible to arbitrarily create any number of page templates? I thought only three were allowed: standard, listing and modular.
Is it accurate to call a page template a page layout, and could one draw a picture with boxes and other shapes showing where the title goes, where text goes, where the navigation goes, where images go, etc.? By the way, I wish titles were styled differently than level 1 headings.
It’s very difficult to suggest something if you’ve no experience in development at all. Someone mentioned that Grav is more developer oriented CMS. If someone has any web development experience, Grav is a breeze. You might want to find someone to do what you ask for - it’s really very easy to change the layout of existing templates by inheriting a theme or create completely new templates with completely different content and layout. Styling is even easier - most themes support custom CSS
Is it accurate to call a page template a page layout, and could one draw a picture with boxes and other shapes showing where the title goes, where text goes, where the navigation goes, where images go, etc.?
As suggested in one of your earlier questions, you should forget about the concepts of Google Sites. They are totally different. Google Sites is a tool for non-developers to create a site with drag and drop of content into specific pre-defined buckets: aka. a pagebuilder.
Grav does not use a pagebuilder. Grav is a tool for developers, or for non-developers who can live with what themes provide out-of-the-box without needing too much changes.
Alternatively, WordPress is a bit of both. It does use a pagebuilder nowadays like Google Sites and allows both simple changes (by configuration) and more complex or even unlimited changes (by coding).
I wasn’t thinking about Google Sites at all. Not now and not earlier.
I’m trying to picture or imagine what a “template” is. It’s not clear to me. Very often, people use pictures or drawings or diagrams to illustrate concepts. As the saying goes, a picture is worth a thousand words. I’m not criticizing the documentation, but I think I would understand the concepts better if there were some pictorial illustrations. As an engineer, we use schematics, block diagrams, drawings, etc. As a coder, I like flowcharts.
A template is just a piece of HTML/Twig code, which defines the layout. There’s nothing to picture, because template can be anything you require
You can also install the plugin Gantry 5: using the free theme Helium you can customise every details of css (like centering titles) in a breeze. Do not worry about the development of this plugin, that was deemed to stop after the closing of Rocket Theme. Now Tiger has resumed its maintenance/development
Hey hello @phil, I gave a try at explaining what a template is. Maybe it eventually turns out useful for other people as well.
I did it in another thread, because it seems a bit dettached from the initial question, and it may be useful to people not using the Learn4 theme as well.
Here is the explanation.
I tried to make it as graphic and simple as possible, but I hope you can realize that it took me more than two hours to write that post, so what you’re asking: “full tutorials on how to use grav” is extremely time consuming to write. I did it because I hope it can be useful to many. But it’s not a light request you have to this community to answer questions in such a broad way.
Anyway, I hope it helps and clarify some things.