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
Hi Lauren
Please send through a link to your site with everything in place and we’ll try help out.
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
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/