Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

contolling the resizing of the lightbox
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: contolling the resizing of the lightbox
#13289
contolling the resizing of the lightbox 6 Years, 8 Months ago Karma: 0
Hi,
I am using fancybox to show off images of art work done by a client of mine. It is working well but I am trying to put a grey border around the image using the CSS in fancybox.css.

The border is fine until I reduce window size on the browser, when I lose the top border. Can I control the extent of the resizing of the light box somehow? so that it is a slightly smaller proportion of the avalable window thatn at present and therefore the top border is not lost?

Also, the client wants the forward and back buttons to appear all the time which I have achieved with the CSS but this causes both buttons to appear on opening up the first image in a gallery for the first time. Is there a way to adjust this so that only the forward button appears - as it does on second opening??

the site is www.franziskaschenk.co.uk
the galleries are in the art section eg www.franziskaschenk.co.uk/index.php?option=com_content&view=article&id=30&Itemid=11

Finally , is there a simple way to apply different borders to the lightbox - for different instances -ie different galleries need different borders ?
Last Edit: 2011/04/04 12:19 By davidfowkes.
The administrator has disabled public write access.
 
#13301
Re:contolling the resizing of the lightbox 6 Years, 8 Months ago Karma: 670
Hello,

1. Add the next CSS rule to site template CSS file that fix top border:

Code:


DIV#fancybox-wrap
{
 margin-top:0;
}



2. We will investigate the problem with navigation buttons and report about results soon.

3. It requires modification of the extension, that it adds specific CSS class to lightbox container or to <body> tag.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#13317
Re:contolling the resizing of the lightbox 6 Years, 8 Months ago Karma: 670
About the problem with navigation buttons, add the next CSS rule:

Code:


#fancybox-left,
#fancybox-right
{
 display: none;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1