Page 1 of 1

Phoca Gallery 4.5.2 (with Joomla 4) - Center the Categorie View

Posted: 21 Feb 2023, 20:57
by ms_wombel
High,

how can i config (Override, css etc.) the Phoca Gallery 4 with Joomla 4, so that the Picture List und Categorie View ist Center on the Page?

CU
Markus

Re: Phoca Gallery 4.5.2 (with Joomla 4) - Center the Categorie View

Posted: 24 Feb 2023, 21:15
by ms_wombel
Hier auch nochmal auf Deutsch - wie kann ich die Kategorie Ansicht bei der Gllery 4.5.2 unter Joomla 4 auf der Seite zentrieren?
Freue mich über eine Unterstüzung

Re: Phoca Gallery 4.5.2 (with Joomla 4) - Center the Categorie View

Posted: 24 Feb 2023, 23:23
by christine
Hallo,

man müsste das sehen, kann daher nur ein Ca. Beispiel geben und Du probierst es aus.
Sollte es Cassiopeia sein, dann Änderungen in eine user.css geben.

Welches theme hast Du?

Das margin-bottom und padding ist nur ein Muster (falls es nötig ist) weil es auch drauf ankommt, wieviele thumbs (Breitengröße) Du hast:

Code: Select all

.pg-item-box, .pg-category-box {
margin: auto!important;
margin-bottom: 10px !important;
padding-left: 2px !important;    
}
Liebe Grüße
Christine

Re: Phoca Gallery 4.5.2 (with Joomla 4) - Center the Categorie View

Posted: 24 Feb 2023, 23:59
by ms_wombel
Kann einmal hier
https://www.gkg-fidelitas.de/index.php/ ... party-2023

und einmal hier
https://www.gkg-fidelitas.de/index.php/ ... -2019-2020

eingesehen werden. Ich nutze ein T4 Blank Template.
Idealerweise wäre auch ein overide oder mit css - nur habe ich die richtige Stelle noch nicht gefunden.

VG Markus

Re: Phoca Gallery 4.5.2 (with Joomla 4) - Center the Categorie View

Posted: 25 Feb 2023, 00:39
by christine
Hallo Markus,

probiers mal mit (in die custom.css) Deines Templates:

Code: Select all

.pg-item-box, .pg-category-box {
margin: auto!important;
padding-bottom: 20px !important;  
}
Ist natürlich unterschiedlich, da beim 2. Link der Titel ist. (wegen dem padding-bottom)

Liebe Grüße
Christine

Re: Phoca Gallery 4.5.2 (with Joomla 4) - Center the Categorie View

Posted: 25 Feb 2023, 11:26
by ms_wombel
Hallo Christine,

ja super - das war genau der Eintrag an der richtigen Stelle, der mir fehlte.
Dankeschön.
VG
Markus :twisted:

Re: Phoca Gallery 4.5.2 (with Joomla 4) - Center the Categorie View

Posted: 25 Feb 2023, 11:39
by christine
Hallo Markus,

na wunderbar :-)
Liebe Grüße
Christine