heloo
am newbie here
i need help for how to make menu position being a centering not left position
what should i do
help me please,
If you are just talking about the menu ITEMS/BUTTONS then you want to focus on the style rule in stylesheet.css
Make adjustments as necessary to change the positioning
Code: Select all
#menu > ul > li {
position: relative;
float: left;
z-index: 20;
padding: 6px 5px 5px 0px;
}
open catalog/view/theme/ВАША_ТЕМА/stylesheet/stylesheet.css and find:
add this:
below find:
replace it:
Code: Select all
#menu {
background: #585858;
border-bottom: 1px solid #000000;
height: 37px;
margin-bottom: 15px;
-webkit-border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-khtml-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
-webkit-box-shadow: 0px 2px 2px #DDDDDD;
-moz-box-shadow: 0px 2px 2px #DDDDDD;
box-shadow: 0px 2px 2px #DDDDDD;
padding: 0px 5px;
}
Code: Select all
text-align:center;
Code: Select all
#menu ul {
list-style: none;
margin: 0;
padding: 0;
}
Code: Select all
#menu ul {
list-style: none;
margin:auto;
padding: 0;
display:inline-block;
margin-bottom:-4px;
text-align:left;
}
Who is online
Users browsing this forum: Baidu [Spider] and 36 guests