ヘッダー画像の下にメニューバーを表示させたい
-
外観の「ウィジェット」にはサイドバーしか設定がなく、
ヘッダーの下に固定ページなどのリンクを設置したいのですが、
どのようにしたらよいのでしょうか。現在のヘッダー(header.php)は以下のとおりです。
@charset "utf-8"; /* Theme Name: 犬 2カラム左メニュー Theme URI: http://www.fsv.jp/ Description: DOG Tmaplate Version: 1.0 2009/01/19 Author: tkm co Author URI: http://www.fsv.jp/ */ /* Global ----------------------------------------------------------------- */ body { color:#333; font-style: normal; font-weight: normal; font-size : 75%; line-height : 1.5; font-family:"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", sans-serif; background:#FFFFFF url(images/body.gif) repeat; margin:0; } a { text-decoration: underline; color: #630000; } a:hover { text-decoration: none; color:#941f1f; } ol { list-style: decimal outside; } ul { list-style: disc outside; } h1, h2, h3, h4, h5, h6, p, pre, blockquote, fieldset, ul, ol, dl { margin-bottom: .75em; } img a { border:0; } address { font-style: normal; display: inline; } h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; } table { border-spacing: 0; } fieldset,img,abbr,acronym { border: 0; } caption,th { text-align: left; } q:before,q:after { content: ''; } blockquote, code { margin:10px 0; background:#f5f5f5; padding:5px 10px; border:1px solid #c5b598; line-height:1.4; display:block; color:#333; } blockquote code { margin:0; padding:0; border:none; } /* Utility */ .widget-header, .trackbacks-header, .comments-header, .comments-open-header, .search-form-header { /* ie win (5, 5.5, 6) bugfix */ p\osition: relative; width: 100%; w\idth: auto; } .pkg:after, #content-inner:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0; } .pkg, #content-inner { display: inline-block; } /* no ie mac \*/ * html .pkg, * html #content-inner { height: 1%; } .pkg, #content-inner { display: block; } /* */ /* Layout ----------------------------------------------------------------- */ #container-inner { width: 850px; min-height: 100%; text-align: left; margin: 0 auto; background: #fff; border-right: 3px solid #000; border-left: 3px solid #000; } #header, #content, #alpha, #beta, #gamma, #footer { position: relative; } #alpha, #gamma { display: inline; float: right; } #beta { float: left; } #header-inner, #content-inner, #footer-inner, #alpha-inner, #beta-inner, #gamma-inner { position: static; overflow: hidden; } .kuzu { margin-left: 200px; } /* float */ .alignleft { margin-right: 1em!important; margin-top: 1em!important; float: left; } .alignright { margin-left: 1em!important; margin-top: 1em!important; float: right; } /* TWT */ .layout-twt #alpha { left: 190px; width: 470px; } .layout-twt #beta { left: -470px; width: 190px; } .layout-twt #gamma { width: 190px; } /* WT */ .layout-wt #alpha { width: 660px; } .layout-wt #beta { width: 190px; } /* TW */ .layout-tw #alpha { width: 660px; } .layout-tw #beta { width: 190px; } #alpha-inner { padding: 10px 20px 20px; margin-top: 0px; } #beta-inner { padding: 0px 0 5px; margin:18px 10px 10px; } #gamma-inner { padding: 0px 0 5px; margin:18px 10px 10px; } .layout-twt #content-inner { background: url(images/content-twt.gif) repeat-y; } .layout-wt #content-inner { background: url(images/content-wt.gif) repeat-y; } .layout-tw #content-inner { background: url(images/content-tw.gif) repeat-y; width: 850px; } /* Header ----------------------------------------------------------------- */ #header { background: #ffffff url(images/header.jpg) no-repeat 0 bottom; } #header-inner { padding: 0; } #header a { color: #fff; font-weight: bold; text-decoration: underline; } #header a:hover { text-decoration: none; } * html #header-content { height: 129px; } #header-content { width: 830px; min-height: 195px; margin: 5px 0 0 20px; } #header-name { margin: 0 0 140px 0; font-size: 150%; font-weight: bold; width: 500px; } #header-description { margin:0; font-size: 130%; line-height: 1.4; color: #fff; font-weight: bold; width: 500px; margin-left: 1px; } /* Content ---------------------------------------------------------------- */ .asset-body, .asset-more, .asset-more-link, .comment-content, .comment-footer, .comments-open-content, .comments-open-footer, .comments-closed, .trackbacks-info, .trackback-content, .trackback-footer, .archive-content { clear: both; } .asset, .comments, .trackbacks, .archive { overflow: hidden; width: 100%; } .asset, .asset-content, .comments, .trackbacks, .archive { position: static; clear: both; } .entry-categories { margin-bottom: .5em; } .entry-categories-header { margin-bottom: 0; margin-right: .25em; display: inline; font-weight: bold; } .entry-categories-list { display: inline; list-style: none; margin-left: 0; padding-left: 0; } .entry-categories-list .entry-category { display: inline; } #content-inner { padding: 0; } .content-nav { text-align: center; margin: 30px 0 10px; } /* asset */ .asset { margin:0 0 10px; } .layout-twt .asset { margin:0 0 10px; background:url(images/asset_3.gif) repeat-y 0 top; } .asset-header { margin:0 0 10px; padding-top:5px; } .layout-twt .asset-header { background:url(images/asset-header_bg_3.gif) 0 top no-repeat; } .asset-name { font-size: 140%; font-weight: bold; color: #000000; margin:0 5px 5px; padding:13px 5px 7px 50px; background:url(images/asset-name_bg.gif) no-repeat left bottom; } .asset-meta { margin:5px 0 0; padding: 5px 10px 10px; font-size: 90%; } .asset-name a:link, .asset-name a:visited { text-decoration: none; color: #3b3b3b; } .asset-name a:hover, .asset-name a:active { text-decoration: underline; } .asset-content { margin: 5px 0; padding:0 10px; } .asset-body { margin:0 0 10px; } .asset-more-link { font-size: 90%; text-align:right; } .asset-pagetop { margin: 0; padding-right: 10px; font-size: 12px; color: #333; background:url(images/content-tw.gif); text-align: right; } .layout-wt .asset-pagetop { margin: 0; padding-right: 200px; font-size: 12px; color: #fff; background:url(images/content-wt.gif); text-align: right; } .asset-footer { clear: both; margin: 10px 0 0; padding: 5px 10px 10px; font-size: 90%; } .layout-twt .asset-footer { background:url(images/asset-footer_bg_3.gif) 0 bottom no-repeat; } .entry-categories, .entry-tags { color:#333333; } /* comment*trackback */ .comments, .trackbacks { margin:10px 0 30px; } .comments p { margin:10px 20px; } .comments-header, .trackbacks-header, .comments-open-header { font-size : 120%; font-weight: bold; color: #333333; margin:20px 0 10px; padding:12px 10px 8px 38px; background: url(images/comments-header_bg.gif) no-repeat left bottom; border-bottom: 1px dotted #666666; } .comments-content { margin:0 0 30px; } .comments-open { margin:0 0 10px; } .comment, .trackback { margin:0 10px 0px; padding:0 0 5px; border-bottom:1px solid #999999; } #comment-submit, #comment-preview { font-weight: normal; } .comment-content { clear: none; line-height: 1.5; margin: 0; } .comment-content p { margin: 0 10px 3px; } .comments-open-content, #comments-open-footer { margin:0 0 5px; padding:0 10px; } #comment-form-external-auth{ margin:0 0 5px; padding:0; } .comments-open label { display: block; } #comment-form-name, #comment-form-email, #comment-form-url, #comment-form-remember-me, #comments-open-text { margin:0 0 5px; } .trackback-content, .trackback-footer { margin:0 0 5px; padding:5px 10px 0; } .trackbacks-info { margin:0 0 10px; padding:0 20px; } /* archive-title */ .archive-title { margin: 5px 0 20px; padding:10px 10px 5px 35px; font-size: 120%; font-weight: bold; color: #333333; background:url(images/archive-title_bg.gif) no-repeat 0 bottom; _height:1px; } .archive-title em { font-style:normal; } #comment-author, #comment-email, #comment-url, #comment-text, #comment-tex { width: 80%; } /* search */ .search-results-header { margin: 5px 0 20px; padding:10px 10px 5px 35px; font-size: 120%; font-weight: bold; color: #333333; background:url(images/archive-title_bg.gif) no-repeat 0 bottom; border-bottom: 1px dotted #000000; _height:1px; } /* Footer ----------------------------------------------------------------- */ #footer { background: #24231e url(images/footer_tw.jpg) no-repeat left top; } .layout-wt #footer { background: #24231e url(images/footer_wt.gif) no-repeat left top; } .layout-twt #footer { background: #24231e url(images/footer_twt.gif) no-repeat left top; } #footer-content { color: #fff; margin: 60px 20px 0 20px; } #footer-content a { color: #fff; } #footer .widget { margin: 0; } #footer .widget-powered .widget-content { padding: 40px 0 0; text-align: left; } .layout-wt #footer .widget-powered .widget-content { padding: 30px 0 0; text-align: center; } /* Widget ----------------------------------------------------------------- */ .widget { position: relative; overflow: hidden; width: 100%; margin: 0 0 20px; } .widget a { color: #534741; } .widget a:hover { color: #F7931E; } .widget-header { margin: 0 5px 5px; padding: 10px 10px 3px 30px; font-size : 120%; background: url(images/widget-header.gif) no-repeat left bottom; color:#000000; line-height: 1.2; _height:1px; } .widget-header a:link, .widget-header a:visited { text-decoration:none; color: #630000; } .widget-header a:hover, .widget-header a:active { text-decoration:underline; } .widget-content { position: relative; margin: 0; } .widget ul { margin: 0; padding: 0 10px; list-style: none; } .widget li { margin: 0; padding:2px 0 2px 12px; background:url(images/li.gif) 0 5px no-repeat; height:1%; } .widget li img { display:inline; } .widget ul ul { margin:0; padding:0; } .widget select { margin-left: 10px; width: 140px; } /* Links */ .widget_links a { margin: 0 10px; padding:2px 0 2px 15px; background: url(images/li.gif) 0 5px no-repeat; } .widget_links ul a { margin: 0 ; padding-left:0; background:none; } /* Calendar */ #wp-calendar { text-align:center; margin:0 auto; } #wp-calendar td { padding:1px 3px; font-size: 100% !important; font-size: 95%; } #wp-calendar caption { text-align:center; margin:0 auto 5px; font-weight:bold; } #wp-calendar #prev { text-align:left; } #wp-calendar #next { text-align:right; } /* search */ #searchform { margin: 0; padding: 0 10px; } .widget-search ul { margin: 5px 0 0; padding: 0; } .widget-search li { padding:0; background: none; font-size:90%; } #s { margin-bottom:5px; width:130px; } /* rss */ .textwidget { margin: 0; padding: 0 15px; } /* Utilities -------------------------------------------------------------- */ #header:after, #header-inner:after, #content:after, #alpha-inner:after, #beta-inner:after, #gamma-inner:after, #footer:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0; } #header-inner, #content-inner, #footer-inner, .asset-header, .asset-body, .asset-footer { /*HACK targets IE6 but not 7*/ height: 1%; } @media print { * { position: static ! important; overflow: visible ! important; } }
よろしくお願いします。
5件の返信を表示中 - 1 - 5件目 (全5件中)
5件の返信を表示中 - 1 - 5件目 (全5件中)
- トピック「ヘッダー画像の下にメニューバーを表示させたい」には新たに返信することはできません。