This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 18 Jul 21, 17:23 Last Post By: JeffTucker Threads: [ Previous | Next ]
Schegg

Posts: 33
Registered: 6-Mar-2009
max-width in user.css for lightbox
Posted: 18 Jul 21, 09:05
 
  Click to reply to this thread Reply
Hi Laza

Is it possible that with V2.2.2 the width of the lightbox can no longer be changed?
In the earlier versions I was of the opinion that I could adjust the max-width line in user.css. Now it is so that the width does not correspond to 95%, see print screen

#lightbox .cards .card .caption {
max-width: 95%; }}
/ ********* larger displays> = 1280px * /

BR Andi

Edited by: Schegg on 18 Jul 2021, 09:05

RobM

Posts: 3,627
Registered: 4-Aug-2006
Re: max-width in user.css for lightbox
Posted: 18 Jul 21, 10:55   in response to: Schegg in response to: Schegg
 
  Click to reply to this thread Reply
Laza is on holiday. Maybe the css has been changed slightly and you might need to update your code. See http://jalbum.net/help/en/Using_Browser_Development_Tools_to_change_a_skin%27s_style
you should be able to see what needs changing. Sorry, I’m using a iPad at the moment, so can’t look myself.
JeffTucker

Posts: 7,667
Registered: 31-Jan-2006
Re: max-width in user.css for lightbox
Posted: 18 Jul 21, 17:22   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
It's not the CSS that's changed. It's the structure of the elements on the page. The max-width: 95% still has some effect - the default is 90% on a small display, 70% on a large display. But 95% of what? The caption is absolutely-positioned, and so is its wrapper. And so is the wrapper around that.

What you really want is 95% of the lightbox width, but I don't know how to get there.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums