centering widgets

  • Author
  • #718609

    I would like to center the cookie image at the top of my sidebar & the text widget below it as well. I have them set to center in the widgets’ settings, but they won’t align that way. Any ideas?

    The blog I need help with is


    It appears as if you have this taken care of, correct? What I’m seeing is all the images are the full width of the sidebar.


    They are. I did that on purpose because they won’t center. I would like to make the cookie image smaller, but it won’t center-align. It only aligns to the left. I’ll make it smaller so you can see what i mean here. Also, I want align the text below the cookie as well (but only that one. the rest of the text can stay aligned as is)


    It looks as if “aligncenter” had not been defined in the CSS for the sidebar, which is something staff should fix. I’ll tag this to have it moved to the themes forum and hopefully one of the theme team will see it shortly and fix the issue.

    You have the CSS upgrade, right? If so, find .hentry .aligncenter in your custom CSS and change it to look like the below by adding the #sidebar aligncenter bit.

    .hentry .aligncenter, #sidebar .aligncenter {
    display: block;
    margin: 0 auto;

    Theme team: I wonder if this needs to be done for left, right and alignnone for the sidebar as well?


    Thank you!


    You are welcome.

The topic ‘centering widgets’ is closed to new replies.