WordPress.org

Ready to get started?Download WordPress

Forums

Using meebome on my Website (9 posts)

  1. popflop
    Member
    Posted 8 years ago #

    Hello all, I would like to start out by saying that I am very new to wordpress and my programming knowledge is very little. (although its getting better, I'm in a C++ data structures and algorithms class right now at school) What I need help with is that I would like to integrate the new meebome service into my website. My site is http://www.popflop.com if you would like to check it out. I am using the GILA 1.0 theme. I have created the meebo widget at http://www.meebome.com but I am not sure where to put the code so that the widget appears in the sidebar of every page. Is this possible? Here's the code.
    <!-- Beginning of meebo me widget code.
    Want to talk with visitors on your page?
    Go to http://www.meebome.com/ and get your widget! -->
    <embed src="http://widget.meebo.com/mm.swf?MjHRPEPdRO" type="application/x-shockwave-flash" width="160" height="250"></embed>

    I noticed that someone had created a meebome plugin, shown here. http://wordpress.org/support/topic/81944?replies=1#post-420828
    What exactly does this do for me? It seems as though I still have to call a function wherever I want to display the widget, right? Any help at all would be greatly appreciated. Thanks a lot in advance.

    popflop

  2. drmike
    Member
    Posted 8 years ago #

    Why not just edit your theme's sidebar.php and add it in directly?

  3. popflop
    Member
    Posted 8 years ago #

    OK, that's what I was thinking. So your saying that's the file I need to edit? sidebar.php? Since my theme uses two sidebars do I have two sidebar files? I'm a true noob when it comes to layout kind of stuff, I'm much better at reading operational type code. I'll go and try to get it to work and let you know.

  4. popflop
    Member
    Posted 8 years ago #

    OK, after looking around I see that both sidebars are defined in sidebar.php. Now I'm going to try and embed the code and see if it works. Thanks.

  5. popflop
    Member
    Posted 8 years ago #

    OK, got it working by putting the code in sidebar.php but it's a little wide for my sidebar. Can someone please tell me how to make my sidebar wider so it will fit better? Thanks.

  6. popflop
    Member
    Posted 8 years ago #

    OK, I'm almost done. I figured out how to make the widget less wide. (in the embed tag there is a width=160 and I just made it 150). Now I need to figure out how to center the widget in the sidebar. Can anyone help?

  7. popflop
    Member
    Posted 8 years ago #

    I tried using ALIGN="CENTER" in the embed tag but that doesn't seem to have worked. Any other ideas? Thanks.

  8. popflop
    Member
    Posted 8 years ago #

    Does anyone have any idea how I could get this embedded piece of flash centered in my sidebar? Any help would be really appreciated. Thanks a lot!

  9. samsarin
    Member
    Posted 8 years ago #

    To center text and/or elements you should add two CSS styles to the container element:

    text-align: center
    margin: 0 auto;

    The text-align: center is for IE. Make sure to set the text-align: left style on the contained element (unless you want the text centered. The margin: 0 auto is for firefox, safari, and other browsers and tells them to center horizontally.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags