Support Forum

Embed a youtube vídeo but appears a gray border…

CA Carlos
Carlos
Member

Hi… something is worng…. maybe with my theme… 

http://test.carlosasensio.com/foro/fsfsf121111/youtube-video-test/

 

any easy way to solve it?

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

This appeatrs to be in your WordPress theme CSS:

.spPostContent iframe {
    max-height: 315px;
    max-width: 360px;
}
 
Change those both from a px count to auto should do it.
CA Carlos
Carlos
Member

thanks, it solved my problem… those lines were on the css ´cause i had to put then to solve the embbed videos on the previous version… happy to know that isn´t neccesary anymore

 

thanks again