Help Me To Get Rid Of Extra Space Coming After Video
-
I want to display embeded video in my page in 720px x 405 px so I reduced the default size defined in theme which was 922px but after making changes there is an extra space which is creating an issue and I want to remove this space. Here is the screenshot which I got while using Firebug :-
image link :- http://personal.t15.org/Untitled-2.jpg
Page link :- http://bit.ly/129HyJm
In order to modify the default stylesheet I made below changes and added a a custom stylesheet:-
article .fluid-width-video-wrapper, #content.page .fluid-width-video-wrapper {
margin-top: 0;
margin-bottom: 0;
}.embed-vimeo iframe, .embed-youtube iframe {
max-width: 720px;
max-height: 405px;
}article footer {
padding: 0;
}I noticed in Firebug this extra space is created by :-
<div class="fluid-width-video-wrapper" style="padding-top: 56.2%;">this statement:- style=”padding-top: 56.2%;”
and there is no way to remove this statement because the site is being hosted on WordPress.com (wordpress.com doesn’t allow to modify html), all we can do is create a custom stylesheet.
FYI: WordPress.com Theme is: Anthem
Can anyone tell me how to remove this space?
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
-
http://personal.t15.org/Homepage.html is not hosted here at WordPress.com, please ask for help at the volunteer-run WordPress.org forums at http://wordpress.org/support/ or check with the theme authors directly to see if they are able to offer support.
- The topic ‘Help Me To Get Rid Of Extra Space Coming After Video’ is closed to new replies.