Page 1 of 1
Album - how to adjust height of lightbox
Posted: Wed Mar 21, 2012 1:34 pm
by jasnick
Using 1.10.3 and latest Album - default template
I have just noticed that in IE the "lightbox" part of album (showing the larger versions of the images) is so far down the screen that the caption area is cut off.
Where do I go to adjust this if I can? The css for the module seems to apply only to the page that shows the thumbnails.
Thanks
Re: Album - how to adjust height of lightbox
Posted: Wed Mar 21, 2012 11:39 pm
by jasnick
modules/Album/templates/db/default/default.css
Just found this - I think I need to edit
#TB_window
top: 50%;
change to top: 35% - just for IE
How do I do this? If it was an HTML page I would just add a conditional comment - not sure how to do it in CMSMS.
Thanks
Just to test, I changed to top:10%. FX shows change - image box moved to top of screen, IE unchanged. Also tried
* html {top: 10%;} but nothing changed in IE.
Re: Album - how to adjust height of lightbox
Posted: Thu Mar 22, 2012 5:30 pm
by Dr.CSS
That style sheet is for the install, after install it should be in layout > stylesheets attach it to the page template or put it in the page Options metadata box...
As far as targeting IE or any other browser...
http://forum.cmsmadesimple.org/viewtopi ... 20&t=29755
Re: Album - how to adjust height of lightbox
Posted: Fri Mar 23, 2012 12:11 am
by jasnick
Dr.CSS - that particular stylesheet is not in my layout/Stylesheets at all. I have an Album Module stylesheet only, which doesn't cover what I need to change.
Anyway, came across this : a Thickbox bug fix for IE: change
#TB_window
top: 50%;
to
#TB_window
bottom: 10%;
The result looks OK to me but I have a large screen so will get the client to check it out.