2017-07-06 2 views
1

私のフルサイズのヘッダーとトップメニューをメインのラッパー/コンテナと同じ幅にするにはどうすればよいですか?下のヘッダとラッパー/コンテナの幅

はここに絵です:

/* Structure */ 
#wrapper{ 
    min-height: 100%; 
    position: relative; 
    padding: 0.5px 0 20px; 
} 
#main{ 
    padding: 10px 10px 0; 
} 

/* Header */ 
#header{ 
    min-width: 990px; 
    padding: 0; 
} 
#branding{ 
    width: 980px; 
    margin: 0 auto; 
    padding: 0; 
} 
.logo{ 
    max-width: 590px; 
    float: left; 
    padding: 30px 0 34px 10px; 
} 
.blog-name{ 
    margin: 0 0 3px; 
    line-height: 1em; 
    display: block; 
} 
.blog-description{ 
    line-height: 1em; 
    display: block; 
    margin: 0; 
    padding: 3px 0 0; 
} 
#top-menu, #nav{ 
    min-width: 990px; 
} 
#top-menu-content, #nav-content{ 
    margin: 0 auto; width: 978px; 
} 

ありがとう:http://soccer-mate.com/content/uploads/2017/07/IMG_1247.jpg

は、ここで私はこれまで、カスタムCSSとして持っているものです。このような

答えて

0

#wrapper     
{ width:100%;min-height: 100%; position: relative; padding: 0.5px 0 20px; } 
+0

ここのオリジナルのCSS –

+0

#main { 幅:960ピクセル; margin:0 auto; 位置:相対;} #コンテナ{ 幅:660px; float:left; } #content { 余白:0; 幅:660px; オーバーフロー:非表示。 } .main-aside { 幅:300px; float:right; 位置:相対; } #secondary { clear:right; } #サブ社{ 幅:960px; margin:0 auto; オーバーフロー:非表示。 } #subsidiary .aside { 幅:300px; float:left; マージン:0 20px 0 0; } #サブ社#3番目{ マージン:0; } #main .module、#main .single-post { \t margin-right:10px; } 固定。{ \t幅:960px; } –

+0

まだ運がありません.. –

関連する問題