Phoca Gallery Slideshow css?

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
IT Consulent.be
Phoca Member
Phoca Member
Posts: 24
Joined: 07 Mar 2011, 11:10

Phoca Gallery Slideshow css?

Post by IT Consulent.be »

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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Slideshow css?

Post by Jan »

Hi, somewhere in this forum, there is guide how to do it.

Jan
If you find Phoca extensions useful, please support the project
IT Consulent.be
Phoca Member
Phoca Member
Posts: 24
Joined: 07 Mar 2011, 11:10

Re: Phoca Gallery Slideshow css?

Post by IT Consulent.be »

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/
sandrob
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 03 Apr 2011, 10:19

Re: Phoca Gallery Slideshow css?

Post by sandrob »

hi,
I tried your solution and it works for me. Did you tried to edit the line 351 of the phocagalleryslideshow.php?

sandrob
IT Consulent.be
Phoca Member
Phoca Member
Posts: 24
Joined: 07 Mar 2011, 11:10

Re: Phoca Gallery Slideshow css?

Post by IT Consulent.be »

Hello sandrob,

In phocagalleryslideshow.php I just have 196 lines?

What is normally on line 351?

Sven
sandrob
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 03 Apr 2011, 10:19

Re: Phoca Gallery Slideshow css?

Post by sandrob »

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
IT Consulent.be
Phoca Member
Phoca Member
Posts: 24
Joined: 07 Mar 2011, 11:10

Re: Phoca Gallery Slideshow css?

Post by IT Consulent.be »

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 !

Image

*
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)
IT Consulent.be
Phoca Member
Phoca Member
Posts: 24
Joined: 07 Mar 2011, 11:10

Re: Phoca Gallery Slideshow css?

Post by IT Consulent.be »

http://www.king-oak.be/images/phocabg.jpg

Link to the picture, because the code is bigger !
DevByStarlight
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 May 2011, 23:37

Re: Phoca Gallery Slideshow css?

Post by DevByStarlight »

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.
cash
Phoca Member
Phoca Member
Posts: 32
Joined: 30 Mar 2011, 15:02

Re: Phoca Gallery Slideshow css?

Post by cash »

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
Post Reply