Loading...
 
Skip to main content

Themes


pagetitle centering

Am having difficulty seeing how one can center the pagetitle. Applying text-align: center; to all the pagetitle settings (.pagetitle) etc in the dblue.css doesn't do anything. Is there a way to center the title in a template. I have looked in all the obvious places but can't see how this is done.

text-align:center should work for headlines, but haven't found yet why it doesn't in Tiki styles. Maybe someone else has the answer on this.

You can use specify margin-left: auto; margin-right: auto; for .pagetitle; this works in IE but not in Firefox or Opera.

One way that does do the job for all browsers that I've checked with is to apply text-align:center to div#tiki-center, which will center h1.pagetitle (along with everything else in the center column), and text-align:left to div.wikitext, to correct the alignment of the rest of the wiki page. Other elements may need to be moved back to the left also, if you don't like them centered.

-- Gary