2017-08-29 27 views
1

我需要澄清一點,我幾乎不理解pragramming,所以我的道歉,如果我的問題聽起來很愚蠢。如何使導航欄垂直更大(可以)?

所以問題是我想讓我的網站導航欄更大(垂直),因爲它現在看起來太小了。

下面是可能會影響更改的代碼。如果您需要更多信息,我會盡我所能提供!謝謝大家!

#nav-wrap { 
position: fixed; 
top: 0; 
left: 0; 
border-top: 3px solid #000B5C; /* #ActiveSectionColor; this one controls the top border old #199ad0; old nav color */ 
background: rgb(29,62,143); /* #MenuBarColor; Hex code: #1d3e8f */ 
background: rgba(29,62,143,1); /* #MenuBarColor; This line controls opacity. #1d3e8f, */ 
z-index: 999; 
} 

#nav-wrap .container { 
clear: both; 
overflow: hidden; 
position: relative; 
} 

#nav-wrap .container ul { 
list-style: none; 
overflow: hidden; 
float: right; 
} 

#nav-wrap .container ul li { 
list-style: none; 
float: left; 
margin-right: 17px; 
text-transform: uppercase; 
} 

#nav-wrap .container ul span:last-child li, 
#nav-wrap .container ul > li:last-child { 
background: none; 
} 

#nav-wrap .container ul li a { 
float: left; 
display: block; 
font-family: 'Lato', sans-serif; 
color: #fff; 
padding: 14px 12px; 
border: 0; 
outline: 0; 
list-style-type: none; 
font-size: 13px; 
font-weight: bold; 
} 

#nav-wrap .container ul li#active a, 
#nav-wrap .container ul li a:hover { 
color: #fff; /* April 2017 */ 
background: #000B5C; /* #ActiveSectionColor; this one controls the rest. old #199ad0; */ 
border: 0; 
} 
+0

請把html放在裏面。 –

+0

嗨!你能詳細說明你的意思是把HTML嗎?謝謝:) –

+0

你能提供你的頁面的公共鏈接嗎? –

回答

0

化妝的CSS類,並使用這些屬性和調用你的導航欄標籤或者div標籤這一類,它使用的是

.sizing{ 

padding-top: 50px; 
padding-bottom : 50px; 
} 

,如果你想過篩反之亦然然後insted的頂部和底部剛使用權利

+0

非常感謝您抽出時間!如前所述,我對編程方面的理解接近於零。那麼你能否告訴我應該在哪裏包括你爲我寫的文字?謝謝! –

+0

是把這段代碼放在