Ready to get started?Download WordPress


How to force horizontal space between embeded videos (3 posts)

  1. Hobbart24
    Posted 3 years ago #

    Hello guys,

    I am trying to embed about 6 videos on my page. (this page is not a blog page)


    I copied code from YouTube and pasted it into HTML, it all looks OK, except one thing.
    I would like to have more horizontal space between them.

    I did try
    tag, to force line brake , but it does nothing. Videos are still "squeezed" too close to each other.

    Is there any trick to do solve this?

  2. hedronist
    Posted 3 years ago #

    Just look at the generate source for the page and see what classes are involved. In your case it is: div.textcontent p, which currently shows 1.3em of bottom margin.

    It would be good if these p's were more specifically identified (maybe with something like <p class='video-container'> or something like that) because changing the more general style may affect more than just your videos.

    Anyway, try something like margin-bottom: 2em or perhaps a bit more.

  3. Hobbart24
    Posted 3 years ago #

    OH MY,
    thank you so much for your response hedronist, but it looks like that is something completely over my head. I don't know much about HTML, that is the main reason I am using WP. So it will probably has to stay as it is.

    Thanks again for your support, hopefully, I will learn more HTML, so I will be able to deal with it.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.