Re: changing headers

Petko Yotov <[email protected]> Sun, 04 Aug 2024 03:31:17 +0200
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <[email protected]>
The skin styles are usually defined in 
pmwiki/pub/skins/skinname/skinname.css or just skin.css.

To override them, you can add your own styles in the file 
pub/css/local.css - you can create it if it doesn't exist.

To change the styles of headings, for example:

   h2, h3 {
     font-family: Georgia, sans;
   }
   h2 {
     font-size: 1.3rem;
     color: darkred;
   }
   h3 {
     font-size: 1.15rem;
   }

You can actually copy style declarations from skinname.css to your 
local.css, and you only need to keep those declarations that you add or 
modify.

Styles added in this file normally override styles defined in the skin. 
Using local.css instead of modifying the skin itself will make it easier 
in the future to upgrade the skin to a more recent version without 
losing your changes.

Petko

-- 
If you upgrade :  https://www.pmwiki.org/Upgrades

On 03/08/2024 22:04, Thomas Hirtenlehner wrote:
> I'd like to change the fonts/size/etc. of the headers in my wiki, but
> I did not find yet where they are defined. could anyone point me to
> the right file?