Support » Plugin: MediaElement.js - HTML5 Video & Audio Player » [Plugin: MediaElement.js – HTML5 Video & Audio Player] video and poster image offset position

Viewing 5 replies - 1 through 5 (of 5 total)
  • well I just have taken a quick look on your css …
    and it seems that the following code from your “style.css”
    is responsible for the offset positioning:

    .art-article img, img.art-article
    {
      margin: 15px;
    }

    but changing that code will most likely effect other images on article-/posts aswell … so you have to add the following:

    .mejs-poster img {
      margin: 0px;
    }

    greatz

    Thank you so much smile-a-byte. That did the trick.
    I just added it to the end of the “style.css”, hope that’s right.
    Works great now, thanks again!

    Yes “style.css” is the right place.
    You’re welcome. (bitteschön) 😉

    Is it really ok to drop any such code anywhere in the “style.css”?
    I as well may have put it also at the beginning of the css?
    Thanks again for your superfast response!

    Yeah … the “style.css” handels all styling globally. So you can refer and make your changes to any specific plugin in your “style.css” by entering the right css-code.

    But be aware that if you’re updating your theme your changes get lost
    unless you’re using a child theme and /or backup your files.

    Regarding the position of dropping code in your css file:
    – you should drop such snippets at the end of the file.
    – the basic layout is in the right order of your page elements.

    To get a better overview for yourself you can do it like this
    for example:

    /* My Plugin Customizations */
    .mejs-poster img {
      margin: 0px;
    }

    Between /* and */ you can write whatever you like – some short description.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: MediaElement.js – HTML5 Video & Audio Player] video and poster image offset position’ is closed to new replies.