Support Forums for LiveMesh Themes & Plugins › Forums › Extinct Theme Support › Video taking up entire width
- This topic has 11 replies, 2 voices, and was last updated 10 years, 5 months ago by Ernesto.
-
AuthorPosts
-
April 14, 2014 at 10:39 pm #5926geoparstorMember
Hey there, pardon another question so soon…
Whenever I put a youtube video on a page, it takes up the entire width.
I’ve tried putting it in the youtube video shortcode, I’ve tried new and old YT embed codes with width and height specified. When I put it in a column, it fits to that column, but still fills up the whole column space.
Any thoughts, and what more can I provide that would be helpful?
Thanks very much
April 14, 2014 at 10:41 pm #5927geoparstorMemberThis reply has been marked as private.April 15, 2014 at 4:42 am #5937ErnestoMemberHi, unfortunately, I´d need to see it in one of the pages to see where the issue is taking place. One thing you might want to try is adjusting the size of the video with CSS.
Try to replicate what you did with previous video and send me a link so we can inspect the issue where it takes place. Thanks in advance!
April 15, 2014 at 2:25 pm #5962geoparstorMemberThis reply has been marked as private.April 16, 2014 at 4:19 am #5975ErnestoMemberHi, you´ll need to modify it with CSS. Go to your CSS Custom Section in your Theme Options Panel and enter the following code:
.fluid-width-video-wrapper {width: 50%;position: relative;padding: 0;}
April 16, 2014 at 3:03 pm #5989geoparstorMemberLooks as if that just cuts the videos down to 50% of the full size, doesn’t actually get them to display the specified size.
Would just like to be able to have the video show up as 640×320 when it’s specified to do so, rather than go full width.
Also, any thoughts on the review plug in short code causing the no body content error in the second link?
Thanks again for your help
April 16, 2014 at 6:15 pm #5998ErnestoMember.fluid-width-video-wrapper {width: 640px; height: 320px; position: relative;padding: 0;}
For the other page, first of all we´d need to make sure that the plugin is compatible with WP latest version. If not, that could be generating the issue.
April 16, 2014 at 7:46 pm #5999geoparstorMemberThis reply has been marked as private.April 17, 2014 at 10:56 pm #6049geoparstorMemberThis reply has been marked as private.April 18, 2014 at 2:28 am #6054ErnestoMemberHi, I was able to manually align the video using the following CSS code:
#player .full-frame {padding-left: Xpx}
This should allow you to modify the videoframe position without any trouble.
April 18, 2014 at 11:44 pm #6078geoparstorMemberAdded that to the custom CSS area in the theme, and it deleted all of my theme settings. No logo, no font, no colors – all reset. Guess I’ll have to completely redo it.
All I’m looking for is the ability to add a video that does not default to full width.
Can you please tell me why it’s so difficult to get a video to display with the correct dimensions? Did I add any custom CSS that would ruin the ability to size videos correctly? Is this a known theme problem?
Just looking for answers as this is getting a bit frustrating.
Thanks for your help on this.
April 21, 2014 at 3:53 am #6115ErnestoMemberHi,
In this case, the best option, which does not require CSS tweaks, is to wrap your video shortcode with a div that assigns the dimensions to it. For example, you can insert a code like this in the content of your page:
<div style="height:480px;width:853px;margin:0 auto;">[youtube_video clip_id="kgXlHFxaN8o" hd="true" width=853 height=480]</div>
-
AuthorPosts
- The forum ‘Extinct Theme Support’ is closed to new topics and replies.