Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #29372

    Hi

    I am building a portfolio and when I embed a video from vimeo, I get what looks like a 4:3 frame with a 16:9 video inside. i.e the video has huge black bars at the top and bottom.

    Any ideas how to fix this? Worth noting that this only happens in the portfolio, if I use the same code elsewhere in the site, the videos display perfectly.

    Code being used:

    <iframe src=”//player.vimeo.com/video/62552726?title=0&byline=0&portrait=0&color=ffffff” width=”500″ height=”281″ frameBorder=”0″ webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

    I have found a few other posts regarding this problem but am yet to find a fix that works for me.

    #140486

    p.s

    here is a link to the site portfolio as it stands

    http://www.visionimpossiblestudios.com/ianBaxter/portfolio/

    #140487

    Hi,

    Try adding this code to the custom.css file or to the Quick CSS section:

    #top .slideshow_container ul{ height: 281px !important; }

    Regards,

    Josue

    #140488

    Amazing. Thank you!

    #140489

    Hi,

    Glad it worked :)

    Regards,

    Josue

    #140490

    Hi

    Thanks again for the above. This does work perfectly but sadly has a side effect. This also resizes all the portolio items (I believe its called the portfolio grid?) as apposed to just the video entries. The visible effect being that the portfolio main page with all the images on looks very odd, although the videos within each, are the correct size. Does that make sense?

    Is there a fix to apply the above to just the entries/videos and leave the main page with all the images alone?

    Cheers

    #140491

    Hi!

    Please try following code (instead of the code Josue posted above)

    #top.single-portfolio .slideshow_container ul{ height: 281px !important; }

    Regards,

    Peter

    #140492

    Perfect.

    Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘black bars top and bottom in portfolio’ is closed to new replies.