Zum Inhalt springen

Gallery Plugin Template / CSS anpassen - wie?

Erstellt am 1. Dezember 2004 · 3 Antworten · letzte Antwort am 8. Dezember 2004

Tags: Frage

Winddancer ·

Hallo Ihrs,

ich komme bei einem Typo3 Problem nicht weiter und benötige dringend Hilfe!!!

Ich habe mir das Gallery Plugin installiert und es funktioniert auch prima.

Bilder / Alben alles wird richtig angezeigt, aber ich bin nicht in der Lage das Layout zu ändern. Ich finde weder ein entsprechendes Stylesheet in den Ext Dateien, noch funktioniert es wie in dem Online Tutorial angegeben ein anderes Stylesheet zu definieren.

Ich würde auch gern ein eigenes Template benutzen für die Anzeige der Gallery, aber das funktioniert schonmal garnicht! :////

Kann nicht mal jemand der die Gallery installiert hat (und ein anderes Stylesheet benutzt oder zumindest Rahmen und Fonts geändert hat seine Setup / Constants Konfiguration posten????????

Please!!!

Grüße

Sven

Winddancer ·

Das ist die Standard LZ Gallery.

Hier die Lösung:
(sehr gut versteckt stand ein Beispiel Stylesheet!)

das hier einfach in das verwendete Stylesheet adden und nach Wünschen konfigurieren!

/* Example of default set CSS styles (these go into the document header):*/
#tx_lzgallery_pi1 {border-style:dotted;border-width:0px;border-collapse:collapse;font-size:11px;padding:0px;font-family:verdana}
    /* gallerie - listing */
	#tx-lzgallery-pi1-listing {border-style:dotted;border-width:0px;border-color:#000099;border-collapse:collapse;font-size:11px;padding:0px;font-family:verdana}
	#tx-lzgallery-pi1-listing tr.line1 {background-color:#F5E644;color:black;}
	#tx-lzgallery-pi1-listing tr.line1 td.startdate{white-space:nowrap;}
	.count{white-space-nowrap;padding-left:20px;font-size:12px;}
	#tx-lzgallery-pi1-listing td.preview {padding:0px;width:80px;padding-left:4px;}
	#tx-lzgallery-pi1-listing td.title {font-size:12px;font-face:bold;padding-left:10px;width:80%;}
	#tx-lzgallery-pi1-listing tr.line2 {padding:0px;}
	
	#tx-lzgallery-pi1-listing a {color:black;}	
	#tx-lzgallery-pi1-listing #line-descr-short {border-top-width:0px;border-top-style:dotted;border-top-color:#00008c;}
	.descr_short {padding:4px 4px 20px 4px;font-size:12px;}
	#tx-lzgallery-pi1-parent-title {font-size:20px;padding:4px 4px 4px 4px;}
	#tx-lzgallery-pi1-parent-count {padding:4px 4px 4px 4px;}
	#tx-lzgallery-pi1-parent-subcount {padding:0px 4px 4px 4px;}
	#tx-lzgallery-pi1-listing td.information {font-size:10px;white-space:nowrap;}
	.sorting {font-size:10px;}

    /* gallery - album  */

	#tx-lzgallery-pi1-fotonav td {text-align:center;padding-left:15px;font-size:10px}
	#tx-lzgallery-pi1-fotonav td.descr {color:#00008c;}
	#tx-lzgallery-pi1-fotonav {background-color:#ffffff;border-color:#666666;border-style:solid;border-width:1px;font-family:verdana;}

	#tx-lzgallery-pi1-fotos {border-width:1px;border-style:solid;border-color:#666666;text-align:center;padding:5px 5px 5px 5px;background-color:#ffffff;border-collapse:collapse;font-family:verdana;}
	#tx-lzgallery-pi1-fotos td {text-align:center;padding:0;border-style:solid;border-width:0px;border-color:#666666;padding:3px;white-space:nowrap;}

	#tx-lzgallery-pi1-title {border-bottom-width:0px;border-bottom-style:solid;border-bottom-color:#666666;text-align:center;margin-bottom:20px;font-size:16px;font-weight:bold;}
	#tx-lzgallery-pi1-descr-long {margin:5px 5px 15px 5px;text-align:justify;}

    /* gallery - annotations */
	.tx-lzgallery-pi1-5x5-filename {font-size:10px;}
	.tx-lzgallery-pi1-1x1-1 {font-size:11px;font-face:bold;border-bottom:1px solid lightgray;}
	.tx-lzgallery-pi1-1x1-2 {font-size:11px;border:1px solid lightgray;margin:3px 3px 3px 3px;}
	.tx-lzgallery-pi1-1x1-filename {font-size:10px;font-style:italic;}