For this you have to develop your own template. This allows you to combine the styles and functions you want from other templates. Of course, as a starting point, you can copy an existing template.
https://www.dokuwiki.org/devel:templates
HTH - Michael Sy.