Phoca Gallery Slideshow css?
-
- Phoca Member
- Posts: 24
- Joined: 07 Mar 2011, 11:10
Phoca Gallery Slideshow css?
Hello,
I am using Phoca Gallery Slideshow but I want to customize the background-color?
The images have different sizes and the background of the slideshow is white, but I want it to be the same background color like the rest of the website.
But I can't find a css of the plugin?
I also tryed this:
------------
<div style="background: yellow; width: 500px; text-align: center;">
<div style="margin: 0px auto; width: 300px;">
{pgslideshow id=1|width=300|height=300|delay=3000|image=L}
</div>
</div>
-------------
But this background is around the 'slideshowbox' so the white stays?
Can someone help me please?
I am using Phoca Gallery Slideshow but I want to customize the background-color?
The images have different sizes and the background of the slideshow is white, but I want it to be the same background color like the rest of the website.
But I can't find a css of the plugin?
I also tryed this:
------------
<div style="background: yellow; width: 500px; text-align: center;">
<div style="margin: 0px auto; width: 300px;">
{pgslideshow id=1|width=300|height=300|delay=3000|image=L}
</div>
</div>
-------------
But this background is around the 'slideshowbox' so the white stays?
Can someone help me please?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Slideshow css?
Hi, somewhere in this forum, there is guide how to do it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 24
- Joined: 07 Mar 2011, 11:10
Re: Phoca Gallery Slideshow css?
Hello Jan,
The only thing I could find is:
---------------------
change this in the 'phocagalleryslideshow.js' file.
look for:
var fadebgcolor="white"
and change it as needed:
var fadebgcolor="blue"
or
var fadebgcolor="#e8e8e8"
-----------------------
But nothing changes when I do this!
http://www.king-oak.be/
The only thing I could find is:
---------------------
change this in the 'phocagalleryslideshow.js' file.
look for:
var fadebgcolor="white"
and change it as needed:
var fadebgcolor="blue"
or
var fadebgcolor="#e8e8e8"
-----------------------
But nothing changes when I do this!
http://www.king-oak.be/
-
- Phoca Newbie
- Posts: 4
- Joined: 03 Apr 2011, 10:19
Re: Phoca Gallery Slideshow css?
hi,
I tried your solution and it works for me. Did you tried to edit the line 351 of the phocagalleryslideshow.php?
sandrob
I tried your solution and it works for me. Did you tried to edit the line 351 of the phocagalleryslideshow.php?
sandrob
-
- Phoca Member
- Posts: 24
- Joined: 07 Mar 2011, 11:10
Re: Phoca Gallery Slideshow css?
Hello sandrob,
In phocagalleryslideshow.php I just have 196 lines?
What is normally on line 351?
Sven
In phocagalleryslideshow.php I just have 196 lines?
What is normally on line 351?
Sven
-
- Phoca Newbie
- Posts: 4
- Joined: 03 Apr 2011, 10:19
Re: Phoca Gallery Slideshow css?
on line 351 you should find that.
$output .= '<div class="phocagalleryslideshow" style="text-align:center;" valign="top">' . "\n";
I successfully edited directly the style and set a css inside the plugins/content folder in order to manage the gallery via css
$output .= '<div class="phocagalleryslideshow" style="text-align:center;" valign="top">' . "\n";
I successfully edited directly the style and set a css inside the plugins/content folder in order to manage the gallery via css
-
- Phoca Member
- Posts: 24
- Joined: 07 Mar 2011, 11:10
Re: Phoca Gallery Slideshow css?
Can you please help me with it, because I can't find it myself!
A made a print screen of firbug in mozilla, the red underlined is what needs to be changed !
*
In my default css I already made a class:
.phocagalleryslideshow
but that doesn't work!
*
change this in the 'phocagalleryslideshow.js' file.
var fadebgcolor="white"
*
and also changed in the rest of the code 'phocagalleryslideshow.js' the fadebgcolor (didn't work)
A made a print screen of firbug in mozilla, the red underlined is what needs to be changed !
*
In my default css I already made a class:
.phocagalleryslideshow
but that doesn't work!
*
change this in the 'phocagalleryslideshow.js' file.
var fadebgcolor="white"
*
and also changed in the rest of the code 'phocagalleryslideshow.js' the fadebgcolor (didn't work)
-
- Phoca Member
- Posts: 24
- Joined: 07 Mar 2011, 11:10
-
- Phoca Newbie
- Posts: 9
- Joined: 07 May 2011, 23:37
Re: Phoca Gallery Slideshow css?
The post above from IT Consulent.be on April 2, 2011 does appear to work ... although you may need to clear cache or force a reload of the javascript depending on your browser.
-
- Phoca Member
- Posts: 32
- Joined: 30 Mar 2011, 15:02
Re: Phoca Gallery Slideshow css?
i use joomla 1.6. Where can i find the 'phocagalleryslideshow.js
i only found in plugins/content/phocagalleryslideshow a phocagalleryslideshow.php.
In the php i don´t find fadebgcolor
i only found in plugins/content/phocagalleryslideshow a phocagalleryslideshow.php.
In the php i don´t find fadebgcolor