MyBB Community Forums

Full Version: Video Embed Not centered?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
While embedding videos to posts and using wysiwyg editor to center it? Its still gets aligned to left after its been posted.

Now maybe there is something wrong with my coding (I designed the theme) I don't know, but I can't figure it out how to solve the issue. Can anyone help me?

Example post:
Put margin: auto; on your videowrapper class
Edit: delayed response

may be adding style property margin: 0 auto for .video-wrapper helps ..
If I do that, won't that always center the embedded video, even if I align it left or right with wysiwyg editor?
^ if I am not mistaken, editor alignment should override default css alignment