トップ 水平メニューの表示方法フォーラムへの書込より。
http://www.flatpress.org/forums/comments.php?DiscussionID=815&page=1#Item_4I think that horizonal menu uses the widget of menubar. So, add the menu-bar widget and below codes in your theme. This code incomplete, sorry. add below in theme.conf.php . register_widgetset('menubar'); add below in header.tpl. <div id="menu"> {widgets pos=menubar} <div id="{$id}"> {$content} </div> {/widgets} </div> add below in style.css. /*== MENU ==*/ #menu { background: #a00; height: 40px; margin: 0; padding: 0; text-align: left; width: 700px; } #menu ul{ margin: 0; padding: 0; list-style: none;} #menu li{ display: inline;} #menu li a:link, #menu li a:visited, #menu a:active{ display: block !important; display: inline; /* ie6 fix margin*/ float: left; color: #FEFEFE; font-size: 1.0em; margin: 0 16px; padding: 10px; text-decoration: none; } #menu li a:hover{ color: #fff;background: #aaa;} And add the widget on 'menubar'. i.e. 'BlockParser:menu' . you will see menu-bar on your blog top side.
firefoxのみのcssで角丸にする方法こんな感じのをスタイルシートに書込み。 「-moz-border-radius:?px」がポイント。 -moz-border-radius: 30px; border: 3px solid red;
ただし、firefoxのみ。簡単ですが限定されます。 それ以外はCSS3.0を待つべし。 なぜかGoogleChromeも対応していた。 safariは「-webkit-border-radius: ?px;」で同じ機能。 参考リンク) http://allabout.co.jp/internet/hpcreate/closeup/CU20050322A/ 検索の年月日のフォームの順について海外は日、月、年の順のため変に感じると思う。 これは fp_root/fp-interface/sharedtpls/search.tpl の以下の部分で変更できる。 しかし、「ソースコードは変更しないで」との作者からの忠告があるため推奨はしない。 元)field_order="DMY"
変)field_order="YMD" たぶん、Date,Month,Yearの順だと思います。 |