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


Recent Events
  • 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.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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?

How to change the size of the sexy lightbox?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to change the size of the sexy lightbox?
#53602
How to change the size of the sexy lightbox? 2 Years, 7 Months ago Karma: 0
Hi,

I just bought ARI Smart Content and ARI Sexy Lightbox. I am using ARI Sexy lightbox with ARI image slider. They work fine.

Howerver, the popup lightbox is a little bit small to me, expecially if i load the page and on my mobile phone. I want to change the size of the popup lighbox.

I modified sexylightbox.css to change the font style for caption. But i don't how to change the default lightbox size. To save my time, could you please tell me the filename and the code which I should modify?

Thank you!

Tony
Last Edit: 2015/03/01 06:29 By tonyhang.
The administrator has disabled public write access.
 
#53605
Re:How to change the size of the sexy lightbox? 2 Years, 7 Months ago Karma: 666
Hello,

What content do you show into the lightbox (images, remote page, inline content, video)?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53613
Re:How to change the size of the sexy lightbox? 2 Years, 7 Months ago Karma: 0
Images. use lighbox to Dispaly images loaded from ARI image slider.

Thank you!
The administrator has disabled public write access.
 
#53651
Re:How to change the size of the sexy lightbox? 2 Years, 7 Months ago Karma: 666
The extension adapts lightbox size to screen size when shows images. If you want to use fixed size (for example "Lightbox width" and "Lightbox height" parameters from module settings), open <joomla_directory>/modules/mod_ariimageslider/mod_ariimageslider/kernel/ImageSlider/Lightbox/class.Arisexylightbox.php file and replace the following code:

Code:


else if ($bgColor)
{
$uri = new JURI($link);
$uri->setVar('background', $bgColor);
$lnkAttrs['href'] = $uri->toString();
}



with the following one:

Code:


else
{
$uri = new JURI($link);
        if ($bgColor)
   $uri->setVar('background', $bgColor);

        $uri->setVar('height', intval($params->get('lightbox_height'), 10));
        $uri->setVar('width', intval($params->get('lightbox_width'), 10));

        $lnkAttrs['href'] = $uri->toString();
}



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