Loading...
 
Skip to main content

Themes


Probs with headlines in milkyway.css

hello, recently I was trying to change the font for H1 in the milkyway.css. I found this section:

-snip-

h1 {
padding: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.3em;
vertical-align: bottom;
color: #135cae;
text-align: left;
width: 100%}

-snip-

I added behind font-size --> font-weight: bold; to h1 but the headline font don't change from normal to bold... what's wrong?

thanks for all suggestions

In conformance with the semantic principle that there is only one h1 heading on a page, in Tiki the h1 heading is the page title. Consequently, what is labeled h1 in the wiki text editing is actually an HTML h2, and so on down for the other heading sizes.

This is clear if you check the page source or use a tool like Firefox's Firebug or Opera's Dragonfly page-checking add-ons. I'm not sure if this is documented yet; sorry if it isn't, I'll check and add it, if necessary. Although the mismatch might seem strange, it was felt that having only h5 to h2 available in the wiki editing page would be worse.

Anyway, try adjusting the h2 size in the style sheet. Sorry for the trouble.

-- Gary

hello Gary...

tx for your help. I changed all headlines one down in my tikiwiki. but the icons on top in the editing mode (I think) need to be adjusted. if I had the "problem" maybe others too...
greetz from France
Carsten