Positioning Kissgallery

There was a question how to position the Kissgallery e.g. into the center of a page. The thumbs are designed as “float:left”. It means they always start their row on the left border. There is a little change necessary in index.php.
Edit the index.php in kissgallery-plugin folder: About line 46 reads:

	$txt='<div class="kissgallery">';

change it to:

$txt='<div align="center"><div class="kissgallery">';

and about the line 97 reads (just before the last return call) :

return $txt;

change to:

return $txt;

Not tested with other galleries.

tips_and_tricks/positioning_kissgallery.txt · Last modified: 2018/04/05 14:48 (external edit)
Webdesign: NMuD chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0