Search…

X3 Photo Gallery Support Forums

Search…
 
ed_f
Experienced
Topic Author
Posts: 148
Joined: 20 Dec 2020, 11:24

caption overlay: fixed on mobile, hover on bigger screens

12 Feb 2026, 12:51

if I understand x3 well a caption hover for folders, which I like a lot on bigger screens, is not de-selectable for mobile phones only, where of course it cannot work. so, if it does not yet exist (I get lost in the systems multiple switches way too often) me, I would love to have that additional switch, if possible: in settings > folders > captions > caption overlay: caption hover - fixed for mobile only. thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: caption overlay: fixed on mobile, hover on bigger screens

13 Feb 2026, 04:35

ed_f wrote:caption hover - fixed for mobile only. thanks!
You mean you want hover to apply for mouse/desktop, while the caption remains visible/fixed on touch/mobile devices? That might be possible with some custom CSS ...
 
ed_f
Experienced
Topic Author
Posts: 148
Joined: 20 Dec 2020, 11:24

Re: caption overlay: fixed on mobile, hover on bigger screens

13 Feb 2026, 06:19

exactly. not necessary, but nice to have ;-)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: caption overlay: fixed on mobile, hover on bigger screens

13 Feb 2026, 20:12

You can do this: Go to Settings > Custom > Custom CSS, and add the following:
Code
@media (hover: none) {
  .images.caption-hover .item-link figcaption, .context.caption-hover .item-link figcaption {
    opacity: 1;
    transform: translateY(0px);
  }
}
Let me know if it works ...
 
ed_f
Experienced
Topic Author
Posts: 148
Joined: 20 Dec 2020, 11:24

Re: caption overlay: fixed on mobile, hover on bigger screens

14 Feb 2026, 05:34

... maybe not, as I tried it here.

btw: could you give me a hint where I once found the setting that makes subfolders on mobile devices not show as image, but with their title after hitting the +-sign? I lost its trace ... 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: caption overlay: fixed on mobile, hover on bigger screens

14 Feb 2026, 22:13

ed_f wrote: ... maybe not, as I tried it here.
Seems you are right, although it's strange, when I add the same code in devtools in "mobile mode", it works. Seems like it's too complicated to try to counteract a specific style that was designed to only work on desktop. Besides, you could of course just set the caption to display on all devices.

Image
ed_f wrote:btw: could you give me a hint where I once found the setting that makes subfolders on mobile devices not show as image, but with their title after hitting the +-sign? I lost its trace ... 
Sorry, it's not clear what you mean "subfolders on mobile devices not show as image". There are settings to hide subfolders in the MENU for mobile devices, but nothing related to images.
 
ed_f
Experienced
Topic Author
Posts: 148
Joined: 20 Dec 2020, 11:24

Re: caption overlay: fixed on mobile, hover on bigger screens

15 Feb 2026, 04:09

yes, it's „hide child pages from menu“. and I set the caption to display on all devices. thanks!