0
兩個問題困擾着我幾個小時了。我想我的菜單文本左對齊,也想增加文字大小子貓科動物在菜單Magento菜單:我怎樣才能讓它左對齊?
任何幫助,我需要什麼編輯將是巨大的。
這裏是我的頭
#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;
}
你是怎麼通過「菜單文本左對齊」是什麼意思?你想讓菜單項從頁面左邊開始? – James
是的,它現在默認爲中心,因爲主題。我試圖讓文本左對齊。 – rundy
那麼要做的是,你必須在'device min-width 1200px'的媒體查詢中,從'div.container'開始進行大量的css修改,'div寬度'爲'1170px'。像這樣,你將不得不改變很多其他的CSS,並檢查它如何響應不同的設備。 – James