Hmm, OK. But when I use Photoswipe I get this on the gallery display:
all the thumbnails are offset in their boxes. This is independent of the mods to renderdetailwindow.php
I want to have the title and download and comment options available in the gallery which was why I chose JAK - it seemed the only one that worked.
CSS bug/error
-
- Phoca Member
- Posts: 47
- Joined: 18 Sep 2011, 16:17
Re: CSS bug/error
Which you can fix by adding
in any convenient stylesheet
The user agent default stylesheet in a chromium browser has margin-inline-start:40px; margin-inline-end:40px;
I don't think this would upset anything else ...
Code: Select all
.pg-box3 figure {
margin:auto;
}
The user agent default stylesheet in a chromium browser has margin-inline-start:40px; margin-inline-end:40px;
I don't think this would upset anything else ...
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: CSS bug/error
Hi, the margin: auto can be a problem when vertical centering but hard to say. (if cropped images are used, there is no problem with vertical centering)
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 47
- Joined: 18 Sep 2011, 16:17
Re: CSS bug/error
perhaps margin:0 auto; would be safer.
I was using Brave browser when I noticed the problem - I'm guess that the user agent setting might be the same in many browsers but I haven't tested any others.
Anyway I think this topic could now be flagged solved.
I was using Brave browser when I noticed the problem - I'm guess that the user agent setting might be the same in many browsers but I haven't tested any others.
Anyway I think this topic could now be flagged solved.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: CSS bug/error
Ok, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project