MyBB Community Forums
Video Embed Not centered? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Video Embed Not centered? (/thread-194850.html)



Video Embed Not centered? - Anurag M - 06-28-2016

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: http://gametechweb.com/Thread-New-God-of-War-announced


RE: Video Embed Not centered? - Leefish - 06-28-2016

Put margin: auto; on your videowrapper class


RE: Video Embed Not centered? - .m. - 06-28-2016

Edit: delayed response

may be adding style property margin: 0 auto for .video-wrapper helps ..


RE: Video Embed Not centered? - Anurag M - 06-28-2016

If I do that, won't that always center the embedded video, even if I align it left or right with wysiwyg editor?


RE: Video Embed Not centered? - .m. - 06-28-2016

^ if I am not mistaken, editor alignment should override default css alignment