• Resolved NTFW

    (@ntfw)


    Hi, sorry but I have been searching how to add a background image (specifically for mobile devices).
    From past posts on this board, all I have seen is “add a background image using CSS….”

    Except it never says how you would do this?
    Am I doing this in WordPress > Edit Plugin > what .CSS file am I looking for?
    wpmbytplayer/mb.YTPlayer.css
    wpmbytplayer/css/mb.YTPlayer.css

    Or am I doing this in my main theme background — because I tried that an the background keeps appears ON TOP of the video.
    • where and what should I be inserting?

    Much thanks!!

    https://wordpress.org/plugins/wpmbytplayer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pupunzi

    (@pupunzi)

    Hi,
    The background image should be set editing your theme css file to the body element:

    body{
       background: url(path/to/your/image.jpg);
       background-repeat: no-repeat;
       background-size: cover;
       background-attachment: fixed;
    }

    Bye,
    Matteo

    Thread Starter NTFW

    (@ntfw)

    Thanks so much — this works, just wrote inline css in the page.

    This works if you want to just edit one page
    (ie. my site just uses this for the main screen)

    Amazing plug-in really.
    Cheers!

    Thread Starter NTFW

    (@ntfw)

    resolved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Background CSS image? HOW?’ is closed to new replies.