How to scale the implemented video size (portfolio)?

  • Posted in : BookCard WP
  • polanski501
    Participant

    Hi,

    I tryed to implement a video-video with into a portfolio page.
    Here is the code:
    [pf_lightbox_video title=”” url=”https://player.vimeo.com/video/165112570″ width=”960″ height=”1000″]

    But unfortunately the size is bigger than 960 x 1000 px.

    Could you please give me a hint to solve this issue?
    Thank you so much!

    Best regards
    G.

    serkan
    Moderator

    Hi,
    Could you provide me your related url please?
    Thanks

    polanski501
    Participant

    gremske.de/design

    serkan
    Moderator

    Hi polanski501,
    Single portfolio item shows %100 width of the video. You can wrap your video embed code with column shortcodes to make it smaller.
    Thanks

    polanski501
    Participant

    Thank you. Could you give me a hint and an example for the right shortcode (for this issue), please? Thank you.

    serkan
    Moderator

    Hi polanski501,
    Could you try to use this custom css code please?

     .portfolio-field {  max-width: 960px; left: auto; right: auto; }

    Thanks

    polanski501
    Participant

    I tryed the code under:
    · custom-editor-style.css
    and
    · Stylesheet (style.css)

    without any effect. So, its not working. Do you have a better idea?

    serkan
    Moderator

    Hi polanski501,
    Could you please check out related topic;
    http://www.pixelwars.org/forums/topic/how-to-use-custom-css-for-wordpress-themes/
    Thanks

    polanski501
    Participant

    Hi Serkan,
    a bit better, but not really the right one …
    I putted now the code into the right area (Style/CSS) and it looks a bit better. Unfortunately is the video a bit to big and I would like to have it exactly like the frame (960 px) …
    http://gremske.de/design/#/portfolio/portfolio/cross-browser/
    Do you have a solution for this issue?
    Thank you!

    serkan
    Moderator

    Hi polanski501,
    It is exactly 960px right now =) You can check the frame length with extensions also right click the video and you can see its 960px.
    Thanks

    polanski501
    Participant

    Ok. Thanks. Maybe it is exactly 960 px – but the video is not on the right position. Do you see the problem? The video is not on the same position like the two pictures top and down. How can I arrange this correctly?

    serkan
    Moderator

    You can use this custom css codes;

    .portfolio-field { margin-left: 0; }
    .portfolio-field p { padding: 0; }

    Thanks

    polanski501
    Participant

    Great. It works. Thank you!

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register