WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Center my blogroll (links) widget (5 posts)

  1. designisyay
    Member
    Posted 1 year ago #

    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!

  2. 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

  3. designisyay
    Member
    Posted 1 year ago #

    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

  4. 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.

  5. designisyay
    Member
    Posted 1 year ago #

    works now :)
    Thank You!

Topic Closed

This topic has been closed to new replies.

About this Topic