Adjust top padding of image pop up box

Phoca Gallery - image gallery extension
vtjoanne
Phoca Member
Phoca Member
Posts: 22
Joined: 28 Jul 2012, 22:58

Adjust top padding of image pop up box

Post by vtjoanne »

The top of the pop up image is cut off behind the template's menu. It seems I need to adjust the top padding? I am using box plus.
Can you please let me know which file and how to edit that so it is around 40px from the top?
Please click on a gallery here:
katherinekavanaugh.com.s198596.gridserver.com/installations/site-specific
so that the image (box plus) pops up.
Thank you,
Joanne
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Adjust top padding of image pop up box

Post by christine »

Hi Joanne,

There is somewhere Inline-CSS:
<div class="boxplus-dialog " style="left: 437px; position: fixed; width: 375px; height: 338px; top: -40px;">
element.style {
height: 338px;
left: 437px;
position: fixed;
top: -40px;
width: 375px;
}
As I didn't find template.css and/or custom.css, I took temporary following code at the end of general.css:

Code: Select all

div.boxplus-dialog {
padding-top:80px !important;  
}
Kind regards, Christine
vtjoanne
Phoca Member
Phoca Member
Posts: 22
Joined: 28 Jul 2012, 22:58

Re: Adjust top padding of image pop up box

Post by vtjoanne »

Thank you very much Christine!
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Adjust top padding of image pop up box

Post by christine »

Hi Joanne,

Great to hear it. Thank you for your information!

I hv seen now, that you have an own CSS for your template:
http://katherinekavanaugh.com.s198596.g ... e=template :wink:

Kind regards, Christine
Post Reply