How to move the controls in Highslide JS (image only)?

Phoca Gallery - image gallery extension
Alexander_photo
Phoca Member
Phoca Member
Posts: 18
Joined: 23 Feb 2010, 14:07
Contact:

How to move the controls in Highslide JS (image only)?

Post by Alexander_photo »

How to move the controls (controlbar) in Highslide JS (image only) to another location in the photo?
By default, the panel in the center top. I need the panel was the center of the bottom.

This controls: Image
ahura
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 Feb 2010, 11:56

Re: How to move the controls in Highslide JS (image only)?

Post by ahura »

Alexander_photo wrote:How to move the controls (controlbar) in Highslide JS (image only) to another location in the photo?
By default, the panel in the center top. I need the panel was the center of the bottom.

This controls: Image
firebug-> and move margin-top, or margin- bottom
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48752
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to move the controls in Highslide JS (image only)?

Post by Jan »

Hi, I have no experiences there :-(, I think this needs to be done in CSS :idea:
If you find Phoca extensions useful, please support the project
seagul
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Mar 2010, 11:17

Re: How to move the controls in Highslide JS (image only)?

Post by seagul »

Hi,

yes, you have to change your CSS.
I just added the following code to my own joomla template CSS:

Code: Select all

.highslide-controls { 
   margin: -80px 0 0;
}
Maybe you have to add !important to your code and to check if you are reaching the right element add a temporary border:

Code: Select all

.highslide-controls { 
   margin: -80px 0 0 !important;
   border: 1px solid red;
}
It moves the controls on top over the image, because my images have a different height and so it is easier to move it on top.

Hope that helps.
Seagul
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48752
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to move the controls in Highslide JS (image only)?

Post by Jan »

Hi, thank you for this info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply