2014-03-19 39 views
0

两个问题困扰着我几个小时了。我想我的菜单文本左对齐,也想增加文字大小子猫科动物在菜单Magento菜单:我怎样才能让它左对齐?

http://www.acuity-sports.com/

任何帮助,我需要什么编辑将是巨大的。

这里是我的头

#yt_menuwrap { background: url(../images/bkg_main_nav.png) left 53px repeat-x; margin- top: -51px; } 

#yt_mainnav, 
#yt_mainnav_mobi { display:table; margin: 0 auto; } 

#yt_mainnav_mobi select { margin:0; } 

#menu_split { clear: left; } 

.header-top {  height: 78px; /* position: relative;  z-index:3; */ } 

.main-top{ } 

.main-top .herader-top{ background:none; } 

.header-logo { position:absolute; top:0; } 

.header-logo a { position:relative; width:auto; height:auto; } 

.header-bottom { height: 70px; /* position:relative; z-index: 4; */ box-shadow: 0 0 3px 2px #CCC; } 

.header-cirlce{ position:relative; text-align:center; height:0px; z-index:1; display:none; } 

.header-cirlce .inner-circle{ width:193px; height:57px; display:inline-block; position:relative; overflow:hidden; } 

.header-cirlce .inner-circle .header-circle-logo{ 
position:absolute; 
width:210px; 
height:210px; 
border-radius:225px;  
background-position:21% 54%; 
box-shadow:3px 0px 7px 0 #000000; 
z-index:1;  
left:-10px;top:-160px; 

}

.header-cirlce .inner-circle .header-circle-content{ 
position:absolute; 
bottom:14px; 
left:5px; 
width:180px; 
height:50px; 
display:inline-block; 
z-index:2; 
background:url(../images/bg-circle-logo.png) no-repeat center center transparent; 

}

+0

你是怎么通过“菜单文本左对齐”是什么意思?你想让菜单项从页面左边开始? – James

+0

是的,它现在默认为中心,因为主题。我试图让文本左对齐。 – rundy

+0

那么要做的是,你必须在'device min-width 1200px'的媒体查询中,从'div.container'开始进行大量的css修改,'div宽度'为'1170px'。像这样,你将不得不改变很多其他的CSS,并检查它如何响应不同的设备。 – James

回答

0

的.css我固定它感谢上帝..

我不得不修改我的主题。 css

#yt_mainnav, 
#yt_mainnav_mobi { display:table; margin: 0 auto; } 

并删除0 auto;

这个

#yt_mainnav, 
#yt_mainnav_mobi { display:table; margin: }