Jump to content

Center/Align Youtube Embeds

Featured Replies

Posted

I can't seem to figure out how to center youtube embeds, or perhaps even align (float them) next to a paragraph.

 

It simply embeds it and it's stuck in that place. Which on bigger screens leaves a lot of gap to the right since it's basically left-aligned.

Center:

div.ipsEmbeddedVideo {
    margin:0px auto;
}

 

Edited by Nathan Explosion

  • Author

Yeah, that's nice if I wanted all embeds to be centered, but I'm looking for the option to do so via editor on a case by case basis depending on what the poster wants to do with it. I feel it should be something the editor is capable of as it does so with images (being able to left align, center, right align, or even float left or right).

  • 4 months later...
On 3/26/2016 at 9:53 PM, Nathan Explosion said:

Center:


div.ipsEmbeddedVideo {
    margin:0px auto;
}

 

 

Which file do I put this in ? Custom.css?

yes

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.