Vick wrote
I am trying to change the look and feel of the first level title in a page, without modifying anywhere else.
If I change only h1 in userstyle.css, the header at the top left is corrupted.
The main content (within the default 'dokuwiki' template) is within a
<div class="page">. So, I would make changes to only the headings within the main content via
.page h1 {
// add styles here
}
Unless you would want the headings in the sidebar to change as well, in which case you can use
#dokuwiki__content h1.
Vick wrote
And more generally I try to investigate the customization of a template. That's my first step and I collapse ...
If you just want to change a few things, use the user styles you already know about. If you want to change more, best create a new template. See also
https://www.dokuwiki.org/devel:templates