Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKartik Kapoor
3,016 PointsHow do I centre the media player?
The video player was centred prior to the addition of the mejs media player.What CSS selector do I use to target the mejs media player so that I can change its position?
2 Answers
Stephen Bone
12,359 PointsHi Kartik
I haven't completed this course myself but I skipped ahead a couple of videos to Create a Custom Skin and once it's completed it's nicely centred again.
I didn't see Nick setting anything specific to centre it (although I may have just missed it) so it makes me think there is something in mejs-skins.css that is overriding behaviour from another stylesheet.
Hope it at leasts points you in the right direction.
Stephen
Kartik Kapoor
3,016 PointsThanks, I will look into it again.