Jump to content

Videos can not be centered, fix?


Recommended Posts

Does anyone know an easy way to make the center align button also effect embedded videos?

Looking at the source html of a post where the video was supposed to be center aligned, there has been no class or styling added to it by the center justify button, which leads me to believe there is no custom css that could accomplish this.  

Making a custom button in the CKEditor is just a bit over my head.  I know that adding      style="margin: auto"     to the embedded video's div wrapper does work.  It would just be a matter of adding that to the normal justify buttons javascript, I think.  But like I said, that's a bit past me.

Anyway, is there another fix anyone knows of?  Or has anyone by chance already made such a custom justify button for themselves?  

Link to comment
Share on other sites


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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...