WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
Keep proportions when resizing (1 post)

  1. amenmo13
    Member
    Posted 9 months ago #

    I am using jQuery Colorbox with Advanced Responsive Video Embedder to embed YouTube videos. When I resize the browser to a smaller width, or view on a mobile device in portrait orientation, the Colorbox does not resize to the same proportions as the video inside it. The video resizes to the correct proportions in relationship to the width of the browser, but the Colorbox remains stretched to full height, leaving large black spaces above and below the video. I set all height and width settings to 80%. What is the best way to get the Colorbox height to resize in proportion to the width?

    http://wordpress.org/plugins/jquery-colorbox/

Reply

You must log in to post.

About this Plugin

About this Topic