• Hey guys, I wrote a new theme but I was having problems placing it in a custom location. I want it centered within in DIV container, but I cannot seem to get it to stay centered, even while everything else works fine. I tried setting it in the CSS, I tried using <center></center> tags even tried a table. Nothing worked. Any ideas?

    http://wordpress.org/extend/plugins/topsy/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, bwint01. It’s hard to advise without seeing an example of your theme, but…

    Can you give the DIV equal amounts of left and right padding? (That might require that your DIV be a fixed width, and I don’t know if it is or not.)

    Thread Starter bwint01

    (@bwint01)

    Hmm ok. I got it to work with the DIV being fixed width with auto left and right padding but the problem is, let’s say the number increased passed 100 or 1000 tweets, or I got into a top rank (e.g. top 5000 etc), I would have to re-adjust the width, which may make it look off-centered on different pages. Where exactly is the CSS that controls the widget style? Is it hosted on your servers or embedded within the topsy script in my plugins folder?

    Thread Starter bwint01

    (@bwint01)

    Ah, the example is helpful. Now I can understand what you’re trying to do, and why my earlier suggestion isn’t really a long-term solution.

    The CSS for the Topsy widget is hosted on our server, and it includes a few !important declarations – otherwise, we had problems with people’s existing site CSS styles accidentally clobbering the button’s layout. (For example, styles that applied to all DIVs or all SPANs.)

    We’ll see if there’s good a way to make a centered button.

    kai @ topsy

    Thread Starter bwint01

    (@bwint01)

    Thank you for your consideration

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Topsy Retweet Button] Centering Topsy Widget’ is closed to new replies.