WordPress.org

Ready to get started?Download WordPress

Forums

How do I center Mybloglog widget in sidebar? (3 posts)

  1. andydrish
    Member
    Posted 6 years ago #

    I was just curious how I center the mybloglog widget in the sidebar... You can check the site out at: http://www.breakingthedivide.com/wp02/

    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!!

    Thanks

    Andy Drish
    http://www.andydrish.com

  2. cryonics
    Member
    Posted 6 years ago #

    Maybe a CSS property such as float:center ?

  3. andydrish
    Member
    Posted 6 years ago #

    Where

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.