Community Supporter?
Forum's Grocer
Gender:
Posts: 73
426 credits Members referred : 0
Just a monk...ey
« on: Jan 15, 2010, 07:16:13 am »
I am designing a new theme for wp and encountered an issue. When I embed a video into the posts or the sidebar the video does not obey the width settings. It automatically stretches to about 1000px (which coincidentally is the width of the page). I can't figure out how to fix that. I figured out that it's likely to be a problem in the css, but I just can't see it. Can someone help me figure it out? Thanks.
I figured it out. I had a div class "main" and the video I was trying to embed had an id "main" so it kept resizing itself to the full width.
« Last Edit: Jan 15, 2010, 07:37:45 am by detoam »
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5779
46271 credits Members referred : 3
Community Supporter?
Forum's Grocer
Gender:
Posts: 73
426 credits Members referred : 0
Just a monk...ey
« Reply #2 on: Jan 15, 2010, 10:43:59 am »
Thanks. It was scary as hell though. I made three themes from the same base. Took me about a week. This scared me into thinking that I would have to scrap all the themes and tell people not to download.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=9575