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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


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? 9 Years, 9 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 13:29 By tonyhang.
The administrator has disabled public write access.
 
#53605
Re:How to change the size of the sexy lightbox? 9 Years, 9 Months ago Karma: 760
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? 9 Years, 9 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? 9 Years, 9 Months ago Karma: 760
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