Forums / Cotonti / General / section banners

Kort
#17829 2009-10-15 17:04
I used
	<div id="slogan" class="s-{PHP.z}">
		<h2>
			{PHP.cfg.subtitle}
		</h2>
	</div>
in the Cryo skin to display section-specific "banners". In the .css file use
.s-admin	{ background:url(img/blueish/slogan-admin-en.png) no-repeat 0 0; }
.s-forums	{ background:url(img/blueish/slogan-forums-en.png) no-repeat 0 0; }
.s-index	{ background:url(img/blueish/slogan-index-en.png) no-repeat 0 0; }
.s-message	{ background:url(img/blueish/slogan-message-en.png) no-repeat 0 0; }
.s-page		{ background:url(img/blueish/slogan-page-en.png) no-repeat 0 0; }
.s-pfs		{ background:url(img/blueish/slogan-pfs-en.png) no-repeat 0 0; }
.s-polls	{ background:url(img/blueish/slogan-polls-en.png) no-repeat 0 0; }
.s-pm		{ background:url(img/blueish/slogan-pm-en.png) no-repeat 0 0; }
.s-plug		{ background:url(img/blueish/slogan-plug-en.png) no-repeat 0 0; }
.s-users	{ background:url(img/blueish/slogan-users-en.png) no-repeat 0 0; }
or whatever fits your skin.
This way you can bypass custom header/footer thing
SED.by - создание сайтов, разработка плагинов и тем для Котонти