(+84) 463.28.7979

How to Right align Nav menu – Thesis theme for wordpress


In my last post I discussed how to move the Thesis navigation menu below header. Today I will show you how to right align the menu. Well the trick is too simple. We are just required to add few lines to CSS code to our custom.css file. So here is how it is to be done.

Right align navigation menu – CSS code

Insert the following code to custom.css file.

1
2
3
4
5
6
7
8
9
.custom #page {
position: relative;
}
.custom ul.menu {
position: absolute;
right: 0;
width: auto;
}

The above code is enough to right align your menu.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>