Hello,
i use phoca Gallerie 4.3.16. I Change my Template to a Gantry5 Framewark from Rockettheme. When i enable photoswipe for detail view, the thumbnail in category view will move from the detail grid. After activate Magnific (Image only) it will show perfekt. Is there a option in photswipe i can fix this?
You can see the problem here: http://phoca.opasbriefmarken.de
Thanks.
Photoswipe move thumbnails in Categorie View
-
- Phoca Newbie
- Posts: 3
- Joined: 23 Apr 2019, 09:37
- KarEm
- Phoca Professional
- Posts: 154
- Joined: 20 Dec 2015, 21:25
Re: Photoswipe move thumbnails in Categorie View
Hello,
I did some tests and perhaps I found a solution. BUT I don't know that Gantry5 Framework and therefore I don't know where to insert the CSS definition (e.g. if there exists an user.ccs file).
Another option might be to modify the phocagallery.css (...\media\com_phocagallery\css\main).
I don't know whether this change will have some unexpected side effects, so this needs to be tested by yourself.
Search for .pg-box3 figure and insert margin: 0; (with a suitable editor (e.g. Notepad ++))
.pg-box3 figure {
position: relative;
margin: 0;
}
A future update will overwrite this change, so this change must be made again.
Maybe someone else knows a better solution.
Regards
KarEm
I did some tests and perhaps I found a solution. BUT I don't know that Gantry5 Framework and therefore I don't know where to insert the CSS definition (e.g. if there exists an user.ccs file).
Another option might be to modify the phocagallery.css (...\media\com_phocagallery\css\main).
I don't know whether this change will have some unexpected side effects, so this needs to be tested by yourself.
Search for .pg-box3 figure and insert margin: 0; (with a suitable editor (e.g. Notepad ++))
.pg-box3 figure {
position: relative;
margin: 0;
}
A future update will overwrite this change, so this change must be made again.
Maybe someone else knows a better solution.
Regards
KarEm
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Photoswipe move thumbnails in Categorie View
Hi,
For amendments, addition etc. to CSS in Gantry, you should create/use a: custom.scss
http://docs.gantry.org/gantry5/tutorial ... tyle-sheet
Just insert KarEm's Code there.
Kind regards
Christine
For amendments, addition etc. to CSS in Gantry, you should create/use a: custom.scss
http://docs.gantry.org/gantry5/tutorial ... tyle-sheet
Just insert KarEm's Code there.
Kind regards
Christine
-
- Phoca Newbie
- Posts: 3
- Joined: 23 Apr 2019, 09:37
Re: Photoswipe move thumbnails in Categorie View
Hello,
the Hack in the photogallery.css works great. I will useing it for now and in the feature i show for custom.scss.
The problem is solved.
Thanks.
the Hack in the photogallery.css works great. I will useing it for now and in the feature i show for custom.scss.
The problem is solved.
Thanks.
- KarEm
- Phoca Professional
- Posts: 154
- Joined: 20 Dec 2015, 21:25
Re: Photoswipe move thumbnails in Categorie View
Hi,
Thanks for your response.
@Christine
Thanks for the link, good to know.
Regards
KarEm
Thanks for your response.
@Christine
Thanks for the link, good to know.
Regards
KarEm
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Photoswipe move thumbnails in Categorie View
Hi 4ioooi7 & KarEm,
Thanks for your feedback. I searched for, why this margin:0; was missing.
Lines 1012-1021 are commented out (also in latest PG 4.3.18). So, after update you have to add again accordingly.
Will Jan inform about to test, check etc.
Kind regards
Christine
Thanks for your feedback. I searched for, why this margin:0; was missing.
Lines 1012-1021 are commented out (also in latest PG 4.3.18). So, after update you have to add again accordingly.
Will Jan inform about to test, check etc.
Kind regards
Christine
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Photoswipe move thumbnails in Categorie View
Hi, thank you for the info, I will take a look at it for the next version.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Photoswipe move thumbnails in Categorie View
Hi,
thank you Jan. Of course, to "rechange" above lines could be influence other Templates. We will see
But it's always possible, to amend/add (for a quick fix) into your own template.css. In above case into custom.scss.
Kind regards
Christine
thank you Jan. Of course, to "rechange" above lines could be influence other Templates. We will see
But it's always possible, to amend/add (for a quick fix) into your own template.css. In above case into custom.scss.
Kind regards
Christine