Linghtbox 2 on Wordpress

CONTENTS


Lastmodified 2017-09-29 (金) 07:05:09


WordPress TinyMice 編集画面のフォント変更

/usr/local/www/data/wordpress/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css

/* WordPress styles */
body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo UI", Georgia, "Times New Roman", "Bitstream Charter", Times, serif; 
	font-size: 13px;
	line-height: 19px;
	color: #333;
	margin: 10px;
}

WordPress Agregate のFont変更

記事フォント変更

と言っても、Agregate Themeでは、結局epanelのフォント指定が最優先されるので、

/usr/local/www/data/wordpress/wp-content/themes/Aggregate_Black/epanel/options_aggregate.php

に、'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo UI', を追加

$et_google_fonts = apply_filters( 'et_google_fonts', array('ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo UI','Kreon','Droid Sans','Droid
Serif','Lobster','Yanone Kaffeesatz','Nobile','Crimson Text','Arvo','Tangerine','Cuprum','Cantarell','Philosopher','Josefin Sans','Dancing Script','Raleway','Bentham',
'Goudy Bookletter 1911','Quattrocento','Ubuntu', 'PT Sans') );
sort($et_google_fonts);

管理画面のフォント変更

/usr/local/www/data/wordpress/wp-admin/css/wp-admin.min.css

/usr/local/www/data/wordpress/wp-content/plugins/wp-multibyte-patch/ext/ja/admin.css

のファイル中の

font-family:sans-serif

を、

font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo UI", sans-serif

に置換して、UTF-8へ変換しる。

して、日本語フォントを選べるようにしてから、メイリオを選択で、OK

テーマの編集

スタイルシート (style.css)

/* Content Left */

#side-left a:hover {text-decoration:underline;}
#side-left p {margin:0; padding:0;}
#side-left h2 {font: 26px Times New Roman, Verdana, Arial; color:#666;}
#side-left h2 a, #side-left h2 a:visited, #side-left h3 a, #side-left h3 a:visited {color:#58b3f9; font-weight:normal;}
#side-left h2 a:hover, #side-left h3 a:hover {color:#fff; text-decoration:none;}
#side-left h3 {font-size:18px; margin:0px 0px 10px 0px; color:#666;}
#side-left h2.pagetitle {color:#58b3f9;}
#side-left h2.result {color:#fff;}
#side-left img {max-width:460px; margin:5px;}
#side-left img {max-width:620px; margin:5px;}
#content .tags {font-size:9px; color:#ccc; margin-bottom:5px;font-weight:bold;}
#content .tags a{font-size:9px; color:#444; font-weight:normal;}
#content .tags a:hover{color:#58b3f9; text-decoration:none;}
#content .postmetadata {text-align:right;margin-top:15px; color:#ccc; font-size:10px;}
#content .postmetadata a {color:#444; font-weight:bold; font-size:10px;}

「メディア」の設定で、サムネイルに600x600を追加。

これで、ほぼ、記事スペース横幅いっぱいに画像が表示される。

Warning: Creating default object from empty value in /usr/local/www/apache24/data/wp/blog/wp-content/themes/Aggregate/epanel/custom_functions.php on line 768

https://divibooster.com/fixing-elegant-themes-creating-default-object-from-empty-value-warning/

/usr/local/www/apache24/data/wp/blog/wp-content/themes/Aggregate/epanel/custom_functions.php line 768

//			$last_update->checked = $themes;
			$last_update->last_checked = time();

Total access 2478:本日 2:昨日 0

Counter: 2478, today: 2, yesterday: 0

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2017-09-29 (金) 07:05:09