WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Center my blogroll (links) widget

[Resolved] Center my blogroll (links) widget

  • Hello,
    my blog is here.
    if you have a look at my sidebar, the archives and categories widgets are all centered. I had a programmer did it for me last time. Now I’ve added blogroll/links widget, and I’d like it to be centered like archives and categories.
    My programmer is away on holiday, and I’d like to know how to do it myself. Can anyone please tell me how and where to do that?

    Thank you. Happy Holidays!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    On line #1260 of your styles.css you have the following:

    #secondary #categories-2 {
    text-align: center;
    }

    Change that to:

    #secondary #categories-2,
    #secondary .widget_links {
    margin: 0pt auto;
    width: 200px;
    }

    That should do it.

    Nice site by the way

    Hi Christine, thanks
    I did that, but instead of centering the blogroll, it’s actually making the categories widget left aligned as well, as you can see here

    Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    Ah.. sorry, I made a mistake…..

    I meant

    change this:

    #secondary #categories-2 {
    text-align: center;
    }

    to

    #secondary #categories-2,
    #secondary .widget_links {
    text-align: center;
    }

    The text-align is needed… not sure how I got the other code bit in there.

    so sorry.

    works now 🙂
    Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Center my blogroll (links) widget’ is closed to new replies.
Skip to toolbar