Centering the VodPod Widget?

  • Author
    Posts
  • #443443

    imaprile
    Member

    I’ve tried everything and can’t seem to figure out how to center align the vodpod widget in my sidebar. It’s throwing off my OCD! :) Everything else is center aligned and this ISN’T! Can anyone help me so graciously before I simply remove it alltogether?

    Many thanks!

    http://imaprile.com

    The blog I need help with is imaprile.com.

    #443539

    You could try center tags (<center> </center>).

    I don’t think that will work though.

    All videos tend to stay left no matter what.

    #443543

    timethief
    Member

    I believe you center objects like the vopod widget by using this approach but I’m not sure http://wpbtips.wordpress.com/2009/04/30/positioning-shortcode-objects-pt-3/

    `<table align=”center”><tr><td>
    INSERTVODPODSHORTCODE
    </td></tr></table> ‘

    #443544

    1tess
    Moderator Emeritus

    That won’t work in a sidebar. You can’t put a shortcode (vodpod) into a text widget.

    Unless there is some tricky CSS thing. Can’t help there, though.

    #443545

    imaprile
    Member

    Hmm, the codes don’t work. @1tess, you’re probably right. Anybody know if there’s a similar HTML version YouTube widget that would serve same purpose?

    #443546

    imaprile
    Member

    For now though, I went to vodpod.com & just retrieved the short code for the doublewide widget. Atleast it’s a little bit more centered now. It was driving me nuts I tell ya! :)

    #443547

    devblog
    Member

    This should do it:

    #vodpod .vodpod_videos_widget, #vodpod .vodpod_video_container {
    margin: auto !important;
    }
    #443548

    devblog
    Member

    oh never mind….

    #443550

    imaprile
    Member

    will that not work, or are you saying nevermind because I used the double widget? I’d rather do the single version if this code works?

    #443551

    devblog
    Member

    I’m saying never mind because you used the double widget.

    #443584

    timethief
    Member

    @devblog
    Thanks – bookmarked!

The topic ‘Centering the VodPod Widget?’ is closed to new replies.