Center and size embeded Video, Vimeo

  • Posted in : Photographer
  • bronkobuster
    Participant

    Hey Guys,

    i really really tried to find something on the internet and here at the help section how to center my embeded Vimeo Video and get the Size i put in in the Embed Link but everytime i want to center it it doesn’t work. And everytime i get it to center with media-wrap the Video is huge! Can u pls help me?!
    This is my Page, and the 2nd column is just in case i did not get the Video centered.
    http://www.jcs-dop.com/portfolio/我爱你!我爱你!/

    bronkobuster
    Participant
    serkan
    Moderator

    Hi,
    Don’t use column short code when you add a video. Just use media wrap short code and then tab short codes.
    Thanks

    bronkobuster
    Participant

    like this?

    [tab][media_wrap][/media_wrap][/tab]

    serkan
    Moderator

    Hi bronkobuster,
    Don’t put the media wrap shortcode inside tab shortcode.

    [media_wrap][/media_wrap]
    [tab][/tab]
    Do it like this. Thanks

    bronkobuster
    Participant

    Sorry but i just don’t get it done…
    This is my Code:
    [media_wrap]iframe code[/media_wrap]
    [tab][/tab]

    and it looks like this:
    http://www.jcs-dop.com/portfolio/我爱你!我爱你!/

    the video below is the thing with the column and at the top i just see the code…
    i don’t get it

    serkan
    Moderator

    Hi,
    Don’t paste the iframe code to visual tab, paste it to text tab. It is located right top corner of the content area.
    Thanks

    bronkobuster
    Participant

    Okay but now the Video is still huge although i changed the video size in the ifame code a dozen times… overtime the same problem…

    serkan
    Moderator

    Hi,

    Use this custom css code;

    .portfolio .media-wrap { max-width: 700px; margin-left: auto; margin-right: auto; }

    Thanks

    bronkobuster
    Participant

    And where do i put that?

    bronkobuster
    Participant

    ah okay i got it, but now the picture is tiny and i can not get it bigger… oh man…..

    serkan
    Moderator

    Hi,
    Which picture you are talking about? You can increase or decrease the max-width.

    bronkobuster
    Participant

    Sorry i meant the Video Size…
    its always the same size.

    http://www.jcs-dop.com/portfolio/我爱你!我爱你!/

    serkan
    Moderator

    Hi,
    I gave you the custom css and just increase the max-width which is suit to you. Example;

    .portfolio .media-wrap { max-width: 800px; margin-left: auto; margin-right: auto; }

    Thanks

    bronkobuster
    Participant

    Oh my god i really think i am stupid but it just won’t work…
    I put this into the CSS Generator for the Theme and it won’t work… im so sorry, but whats going on there…?

    bronkobuster
    Participant

    So is there no way u can help me?

    serkan
    Moderator

    Hi,
    I just tested the custom css code and it is working well.
    Please have a look the topic.
    http://www.pixelwars.org/forums/topic/how-to-use-custom-css-for-wordpress-themes/
    Thanks

    ahmetsali
    Keymaster

    Hi, i just checked your source code and the value in your custom css is 1200px

    .portfolio .media-wrap{max-width:1200px;
    

    lower the value as in Serkan’s post like 800px and it should be like you wanted.

    bronkobuster
    Participant

    it works now, thanks!

    serkan
    Moderator

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

Viewing 20 posts - 1 through 20 (of 20 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