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

Phoca Gallery - image gallery extension
ms_wombel
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Nov 2013, 07:53

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

Post 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

Tags:
ms_wombel
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Nov 2013, 07:53

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

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

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

Post 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
ms_wombel
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Nov 2013, 07:53

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

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

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

Post 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
ms_wombel
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Nov 2013, 07:53

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

Post by ms_wombel »

Hallo Christine,

ja super - das war genau der Eintrag an der richtigen Stelle, der mir fehlte.
Dankeschön.
VG
Markus :twisted:
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

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

Post by christine »

Hallo Markus,

na wunderbar :-)
Liebe Grüße
Christine
Post Reply