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 ^^
Customizind the CSS of the modalbox/standard popup window
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Change in:comp
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");
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");
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 14 Feb 2008, 11:08
- Location: France
That works fine!
That works fine!
Thank you very much!
Thank you very much!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 17 Apr 2009, 10:11
Re: Customizind the CSS of the modalbox/standard popup window
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.
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.
-
- Phoca Newbie
- Posts: 2
- Joined: 17 Apr 2009, 10:11
Re: Customizind the CSS of the modalbox/standard popup window
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!!!
I had to change the Detail Setting from Modal Popup Box to Modal Popup Box (image only) and it worked.
Fabulous plug-in!!!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customizind the CSS of the modalbox/standard popup window
great to hear it, Jan
If you find Phoca extensions useful, please support the project