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?

Styling a gallery lightbox
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Styling a gallery lightbox
#65482
Styling a gallery lightbox 5 Years, 3 Months ago Karma: 0
Hello
I try to style a gallery lightbox:
fancybox-container {
width: 60%;
height: 60%;
border: 20px solid #73AD21;
padding: 100px;
}

www.bewoners-stadseiland.nl/monitoring-bloemrijke-bermen/

Questions:
- How can the fancybox-container appear centered on the screen?
- How can the grey gradient on the bottom be dismissed?
- How can the white line near the bottom be dismissed?
- How can I make a padding between caption and image
- I would like to show the navigation and caption permanent

Thanks a lot for helping me!
The administrator has disabled public write access.
 
#65485
Re:Styling a gallery lightbox 5 Years, 3 Months ago Karma: 760
Hello,

Add the following custom CSS rules:

Code:


/* center container */
.fancybox-container {
  top: 20%;
  left: 20%;
}

/* remove white line */
body .fancybox-caption {border-top-style:none}

/* remove gray background */
body .fancybox-caption-wrap {background:none}



Open "ARI Fancy Lightbox -> Settings -> Lightbox" page and populate "Idle time" parameter with 0 value to show navigation buttons and caption always.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#65496
Re:Styling a gallery lightbox 5 Years, 3 Months ago Karma: 0
Thank you very much for your help!
the lightbox looks much better now.
www.bewoners-stadseiland.nl/monitoring-bloemrijke-bermen/

This the code I use.
/* styling caption */
.fancybox-caption {text-align: center; font-size: 40px; font-weight: 500; color: currentcolor; }

/* padding around image */
.fancybox-image {padding: 20px;}

/* styling lightbox */
.fancybox-container {
top: 10%;
left: 20%;
width: 60%;
height: 80%;
border: 0px solid #73AD21;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* remove white line */
body .fancybox-caption {border-top-style:none}

/* remove gray background */
body .fancybox-caption-wrap {background:none}

More one question:
How can add a margin around the buttons in the upper right corner?
Thank you!
Otto
Last Edit: 2019/09/11 09:48 By Flotto.
The administrator has disabled public write access.
 
#65500
Re:Styling a gallery lightbox 5 Years, 3 Months ago Karma: 760
Add the following CSS rule:

Code:


.fancybox-show-toolbar .fancybox-toolbar {
        margin-top: 10px;
        margin-right: 10px;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#65509
Re:Styling a gallery lightbox 5 Years, 3 Months ago Karma: 0
It works!

I think it is really a nice lightbox now. Very nice to be able to style it.

Thank you for your kind help,
Best regards, Otto
The administrator has disabled public write access.
 
Go to topPage: 1