Try the Demo

Magento Forum

   
change the top category menu
 
xiaolin
Member
 
Total Posts:  47
Joined:  2008-05-04
 

i found the blue header nav container has full-screen width at:

.header-nav-container

in boxess.css

i want to change the width to 950px and align it to center

how can i achieve that?

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Charles
Member
 
Avatar
Total Posts:  73
Joined:  2008-03-28
Belgium
 

Asking the question is like answering it:

widtht;950px;

setting margin-left and margin-right to auto will center the header-nav-container - block.

It won’t work with IE-browers prior to IE7.

Gr,

Charles

 
Magento Community Magento Community
Magento Community
Magento Community
 
xiaolin
Member
 
Total Posts:  47
Joined:  2008-05-04
 

thanks so much for your instruction but is there anyway to make it works with IE6?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Charles
Member
 
Avatar
Total Posts:  73
Joined:  2008-03-28
Belgium
 

I’ve just stumbled on a text-align:center styling for an img-object and working quite nicely (in Safari)
You might give it a try on your object.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top