Support » Plugins and Hacks » How do I center Mybloglog widget in sidebar?

  • andydrish


    I was just curious how I center the mybloglog widget in the sidebar… You can check the site out at:

    Everything else is just how I want it, but they are text widgets… Do I have have to go into widget.php? And if so, what is the code I’d have to add and where should I add it?

    I’d really appreciate any help!!


    Andy Drish

Viewing 2 replies - 1 through 2 (of 2 total)
  • cryonics


    Maybe a CSS property such as float:center ?




    div#container {
    margin-top: 5px;
    padding: 7px;
    padding-bottom: 0;
    background: url(images/wrapper.gif) repeat-x top left #114763;
    border-top: 1px solid #215972;
    color: #134663;
    h2#banner {
    width: 771px;
    height: 118px;
    background: url(images/banner.gif) no-repeat top center;
    h2#banner span { display: none; }

    div#lower {
    width: 771px;
    background: url(images/main.gif) repeat-y top left #c5d5e4;
    div#sidebar {
    width: 227px;
    float: right;
    text-align: center;
    #sidebar li {
    list-style: none outside;
    #sidebar h2 {
    line-height: 40px;
    padding: 0 10px;
    height: 40px;
    color: #FFF;
    font-size: 16px;
    font-weight: normal;
    background: url(images/sideh2.gif) repeat-x top left;
    border: 1px solid #ff7a18;
    border-width: 0 1px;

    #sidebar li ul, div.sidecell {
    margin: 7px 5px;
    padding: 10px;
    background: #FFF;
    border-bottom: 1px solid #afc4d9;

    #sidebar li ul li {
    padding-left: 17px;
    background: url(images/bullet.gif) no-repeat top left;
    text-align: left; }
    #sidebar a:link, #sidebar a:visited {
    color: #134663;</B-quote>

    This is my code for my style.css…. I can’t seem to find where to place the float:center property… Any advice?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I center Mybloglog widget in sidebar?’ is closed to new replies.