I have this site:
In the left column and there I found a menu
I want that to be aligned to the center menu ... I put a picture below to understand more clearly what I mean.
CODE JS:
function centerContent()
{
var container = $('#secondary');
var content = $('#primary-sidebar');
var logo=$('#secondary h1:first-child');
content.css("margin-top", (container.height()-logo.height()-content.height())/2);
}
Can you tell me please which is why it displays the menu too low? Calculation is wrong?
Thanks in advance!