Lightbox Plus Colorbox
Lightbox plus add additional padding (4 posts)

  1. brokerobot
    Posted 2 years ago #

    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?


  2. tizoast
    Posted 2 years ago #

    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;}

  3. brokerobot
    Posted 2 years ago #

    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.

  4. tizoast
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Lightbox Plus Colorbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.