Home>Support>Centre align widgets in sidebar

Centre align widgets in sidebar

Hi there,

I’m adding various widgets to my sidebar, but unfortunately the alignment of them seems to vary. I would eventually like all widgets I add to my sidebar to be center aligned – is there some custom css I can use to do this?

– If I add the Text widget, I know I can centre this using the center HTML tag
– The Easy Social Icon plugin automatically center aligns
– However my last two widgets left align (Recent Posts & Instagram)

Thanks,
Lauren

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Lauren

    Please send through a link to your site with everything in place and we’ll try help out.

  2. 9 years, 10 months ago Lauren Short

    Hi Andrew,

    Thanks for the response. I am building my site locally at the moment. I’ll post a link when it’s live unless there is any other suggestions you have now

    Thanks

    Lauren

  3. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Besides adding text-align: center; to the #secondary div which handles the sidebar there isn’t anything blanket in CSS that can handle this. Each widget would unfortunately need to be looked at on it’s own. If you can send through a link once it’s live we can lend a hand.

    If you’d like to dive in now: http://css-tricks.com/centering-css-complete-guide/

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More