Support » Plugin: Lightbox Plus Colorbox » Lightbox plus add additional padding

  • brokerobot

    (@brokerobot)


    I am currently bringing in a Brightvcove video and need to add some additional padding around the entire video. Right now it is positioned to Top Left corner.

    Is there a easy way to add padding? When I target a element it also increases the #cboxContent height/width and then has scrollbars. Any idea on a easy way to center the video in the modal window or add padding to it?

    http://wordpress.org/extend/plugins/lightbox-plus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • tizoast

    (@tizoast)

    Here’s an example of how I did it (with images, mind you—I haven’t tried video yet):

    #cboxLoadedContent{margin-top:15px; margin-left:10px; margin-right:10px; margin-bottom:15px;}

    brokerobot

    (@brokerobot)

    thanks! I was sort of on the right track, one thing I was missing was changing the Size > inner width/height

    In the size settings is it best to control the inner width/height? Just curious as I am new to this plug in.

    tizoast

    (@tizoast)

    I honestly haven’t messed with that setting at all. I just checked “Use Custom Styles” under the Styles tab, and then edited the stylesheet (called “colorbox.css”) for the style that I’m using (which is called “Fancypants”).

    The stylesheets that are generated after you check the “Use Custom Styles” box and then save all settings will be located at wp-content/lbp-css.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lightbox plus add additional padding’ is closed to new replies.