Loading...
 
Features / Usability

Features / Usability


Huge headings

posts: 20 Germany

Hi!

Most pages only use one, or a few, levels of headings. For them, the headings < h1 > and < h2 >, in the rendered HTML page, are much too big. It isn't pretty. It's the HTML default to do it like this, but I'm wondering if it could be done better.

Maybe the heading font sizes could be modified by an embedded, automatically generated, per-page stylesheet. For a page with only one level of headings, the < h1 > element would be not much larger than the normal text. For a page with five levels of headings, the < h1 > would be much bigger, and the < h5 > would be the one, which is not much larger than the normal text.

Does this sound like a good idea?

Bye,
Volker

posts: 126774 United Kingdom

Hi Volker Wysk

You can change the size of your heading in custom css (in the look and feel control panel for instance), add something like this:

h1 { font-size: 2rem; }

or, if you only need this on some pages you could do:

.cat_small-headings h1 { font-size: 2rem; }

and make a category called small-headings and use that on the "Categories to add as CSS classes to " preference (also found on looks and feel customisation)

Hope that helps
jonny

posts: 20 Germany

Thanks for the info. It isn't something I need to have, but an idea how Tiki wiki pages could be made prettier. The idea is to have it done automagically for all pages, as a default. I think most pages would benefit from it.

So, would it be a good idea? I don't have enough knowledge to answer that.

Bye,
Volker