EDIT: See post#17 (css-only, not exactly centered) and post#19 (table, exactly centered) for alternative/better solutions
Change functions/bfa_header_config.php, line 12
PHP Code:
$page_menu_bar = '<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' . "\n";
to
PHP Code:
$page_menu_bar = '<div id="menu1"><div class="clearfix rMenu-center">
<ul id="rmenu2" class="clearfix rMenu-hor rMenu">' . "\n";
and, line 23
PHP Code:
$page_menu_bar .= '</ul></div>' . "\n";
to
PHP Code:
$page_menu_bar .= '</ul></div></div>' . "\n";
and at Atahualpa Theme Options -> HTML/CSS Inserts -> CSS Inserts, add, for instance, this:
HTML Code:
ul#rmenu2 {
border: 0;
}
div.rMenu-center {
border: dashed 1px #ccc;
overflow: hidden;
}
The
overflow:hidden in the CSS style above solves the problem of the horizontal scrollbar that appears too early but it
hides the vertical drop downs in non-IE browsers.