Loading...
 
Skip to main content

Bundled and Legacy Themes


v2.0 blugreen H1/H2/H3 problem

posts: 12 United Kingdom

Hi - I'm using a simple bluegreen derivative on a site that I'm just moving up to v2.0 and I've noticed something a little odd.

On a Wiki page using the wiki heading syntax !, !! or !! these correctly invoked H1, H2 and H3 from the CSS in version 1.9.11 but now I've upgraded they seem to be invoking H2, H3 and H4 (where H4 isn't even defined) ie they have slipped 'one down'.

I've made a simple work-around to add a new H4 and to reset the font sizes 'one up' as it were to avoid editing all the individualpages, but I wondered whether anyone else had seen this? Or perhaps I've done something very odd. I thought it might be something to do with the new section editing at first - but it still does it with section editing switched off.

Would appreciate anyone else's comments

thanks

Geoff

posts: 254 Japan

This change was made to improve the semantic organization of the page. As I understand it, there should be only one h1 heading on a web page. Tiki uses this for the page title. So to conform to the only-one-h1 rule, the headings in the wiki text are assigned h2 through h4 sizes. But these still have the old labels with h1 as the largest.

I guess the thinking was that it makes more sense to page authors to have h1-h4 available to use within the page, and just map the heading designations down a notch, rather than remove h1 from the syntax and have users wondering what happened to it.

But the stylesheets weren't necessarily updated to reflect this change, especially in older themes that aren't actively maintained much, so, as you found out, some editing might be needed.

-- Gary


posts: 12 United Kingdom

Ok I see, I think? - not sure I entirely agree with the logic but at least I know it is deliberate, so I'll 'consolidate' the various workarounds accordingly

Thanks

geoff