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?

Set maximum width for html content
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Set maximum width for html content
#63424
Set maximum width for html content 6 Years, 4 Months ago Karma: 0
Is there a way of setting the maximum width for the content of the custom html content in the lightbox?
The administrator has disabled public write access.
 
#63426
Re:Set maximum width for html content 6 Years, 4 Months ago Karma: 760
Hello,

If you use the following HTML code to show an inline content into the lightbox:

Code:


<div id="mySampleContent" class="fancybox-hide">This content will be shown into the lightbox</div> 
<a href="#mySampleContent" class="ari-fancybox">Open lightbox</a>



maximum width can be defined via max-width CSS property:

Code:


<div id="mySampleContent" class="fancybox-hide" style="max-width:100px;">This content will be shown into the lightbox</div> 
<a href="#mySampleContent" class="ari-fancybox">Open lightbox</a> 



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