WordPress.org

Ready to get started?Download WordPress

Forums

WP YouTube Lyte
[resolved] Background colour (10 posts)

  1. chrisnomad
    Member
    Posted 1 year ago #

    My site has a balck backdround. The player is automatically creating a white one behind the youtibe box. How may I change this?

    http://wordpress.org/plugins/wp-youtube-lyte/

  2. chrisnomad
    Member
    Posted 1 year ago #

  3. Frank Goossens
    Member
    Plugin Author

    Posted 1 year ago #

    hi chrisnomad;
    not sure I understand, the example-page you link to has no lyte player on it? anyway; changing the background color can be accomplished with some simple CSS to override the default style, e.g. for white;

    .lyte,.lyMe {
         background-color:#FFF !important;
    }

    hope this helps,
    frank

  4. chrisnomad
    Member
    Posted 1 year ago #

    Hi Frank

    Yes, sorry, I was messing around with some other plug ins. Can you send em alink where all your shortcodes are listed? I basically want to make the video not show recommended videos when it stops, have a white border, and control the width...all in one line of code. Many thanks.

  5. Frank Goossens
    Member
    Plugin Author

    Posted 1 year ago #

    no problem :-)

    not one line of code i'm afraid, but here's some pointers anyhow;

    • recommended vids aren't shown by default
    • white border can be accomplished with css
    • width is defined on the lyte admin page

    frank

  6. chrisnomad
    Member
    Posted 1 year ago #

    OK. Can you point me to how I can add the border with CSS? Thanks

  7. Frank Goossens
    Member
    Plugin Author

    Posted 1 year ago #

    sure; something like

    .lyte-wrapper{border:24px solid red;}

    should work, although you might want to change color & width ;-)

  8. chrisnomad
    Member
    Posted 1 year ago #

    Just working on this now. Probably an idiotic question, but where doo i paste that code for the plugin? Thanks

  9. chrisnomad
    Member
    Posted 1 year ago #

    Just in your standard CSS editor?

  10. Frank Goossens
    Member
    Plugin Author

    Posted 1 year ago #

    well, you could e.g. add it at the bottom of the style.css of your theme?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.