WordPress.org

Ready to get started?Download WordPress

Forums

Force Resize embed youtube videos (2 posts)

  1. dadaas
    Member
    Posted 4 years ago #

    Hi, i have trouble with resizing my embed youtube videos.
    I just converted from other site to wordpress and i have use youtube videos as embed codes and isnert them to html and that works fine.

    But now i have 2000 videos and some of them are too big for my theme.

    I ahve try this:
    .post object{
    width: 460px;
    height: 360px;
    }
    .post embed{
    width: 460px;
    height: 360px;
    }

    but this didnt work, because there is already width section inside the html code... any idea or sollution so .css is forced and my css have is primary?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help.

Topic Closed

This topic has been closed to new replies.

About this Topic