I made a sidebar in wordpress and have widgets in it, I want to process them one by one so that I can set their locations in theme according to me.
Example:
If I have a 3 widget in my footer sidebar, they come in one row and if fourth came it goes to next row but in the centre.
Secondly if there is only one widget in sidebar it comes in the centre of first row.
I am using bootstrap with LESS, How can I get the done.