Centering the VodPod Widget?
-
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!
The blog I need help with is: (visible only to logged in users)
-
You could try center tags (<center> </center>).
I don’t think that will work though.
All videos tend to stay left no matter what.
-
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> ‘ -
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.
-
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! :)
-
This should do it:
#vodpod .vodpod_videos_widget, #vodpod .vodpod_video_container { margin: auto !important; } -
-
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?
-
- The topic ‘Centering the VodPod Widget?’ is closed to new replies.