Page 1 of 1

Hello,I&

Posted: 14 Feb 2008, 11:20
by satanas
Hello,

I'm searching how to customize the background color of the windows (standard popup and modal). As it's not included in the parameters of the phocagallery settings, I guess I have to work on a CSS called by the plugin or the component, but I don't find which one.
I want, at the end, to have a black background. I've already changed the icons ^^

Change in:comp

Posted: 14 Feb 2008, 12:37
by Jan
Change in:
components\com_phocagallery\views\phocagalleryd\view.html.php

Row: + - 99

From:
$document->addCustomTag( "<style type=\"text/css\"> \n"
." html,body {overflow:hidden;} \n"
." </style> \n");


To:
$document->addCustomTag( "<style type=\"text/css\"> \n"
." html,body .contentpane{overflow:hidden;background:#000000;} \n"
." center, table {background:#000000;} \n"
." </style> \n");

That works fine!

Posted: 14 Feb 2008, 18:36
by satanas
That works fine!
Thank you very much!

Posted: 14 Feb 2008, 21:31
by Jan

Re: Customizind the CSS of the modalbox/standard popup window

Posted: 20 Apr 2009, 22:15
by Foton
Dear Jan,
If the modal box opens the background is at first white, then aftera second it turns in to the color of the param I could set in the preferences, in my case black.
Is there a way to have the background blach when the modalbox opens?
Now its flickering from white to black each time a thumnails is clicked.
Thanks in advance.

Re: Customizind the CSS of the modalbox/standard popup window

Posted: 21 Apr 2009, 01:03
by Foton
Found it....in the documentation again.
I had to change the Detail Setting from Modal Popup Box to Modal Popup Box (image only) and it worked.
Fabulous plug-in!!!

Re: Customizind the CSS of the modalbox/standard popup window

Posted: 28 Apr 2009, 19:37
by Jan
great to hear it, Jan