Posted on 2 Comments

To Align Centre my Subsiciary Menu at the Bottom Below Footer of my Theme

I found out that it was not that difficult to centre horizontally my menu at the bottom of my blog, particularly when I have only three or four links, and automatically align to left, so I want to see it all go to the centre.

I search the google.com and found this hack:


#subsidiary-menu {
float:right;
position:relative;
left:-50%;
text-align:left;
overflow: visible;
height: 34px;
margin: 0 0 20px 0;
z-index: 100;
font-size:14px;
}
#subsidiary-menu ul{
list-style:none;
position:relative;
left:50%;
}

Now you can see your menu align to the centre, I mean the entire menu, not just text of the menu within each “ul” or “li”.

I hope this helps me first of all.

Post Note

I must acknowledge that StackOverFlow has been so useful for me in searching many things to do with JS, PHP and CSS Styles. Just click link I provided here and see