Wordpress⑧カスタマイズ

デフォルトの状態ではブログが見にくかったので変更しました:)

外観→テーマ編集→スタイルシート
スタイルシートの編集はパーミッションの設定をしてから行います。

#  find / |grep style.css
/var/www/html/wordpress/wp-content/themes/esquire/style.css
/var/www/html/wordpress/wp-content/themes/sugar-and-spice/style.css
/var/www/html/wordpress/wp-content/themes/supernova/style.css・・・・・・・

#  cd  //var/www/html/wordpress/wp-content/themes/sugar-and-spice/style.css

# ls -la
-rw-r--r-- 1 root root 442 Apr 15 13:12 sidebar.php
-rw-r--r-- 1 root root 1618 Apr 15 13:12 single.php
-rw-r--r-- 1 root root 30148 Apr 15 13:12 style.css・・・・・・

# chmod 777 style-.css

①フォントと色を変える
変更箇所が太字です。上がABOUT ME、下が本文の箇所にあたります。
/* 01. Basic Styles & Typography
================================================== */
body {
font-size: 87.5%;
line-height: 1.5;
font-family: メイリオ, Meiryo, Osaka, “ヒラギノ角ゴ Pro W3″, “Hiragino Kaku Gothic Pro”, “MS Pゴシック”, “MS PGothic”, sans-serif;
color: #000000; /*#797979*/
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
-webkit-text-size-adjust: 100%;
-ms-word-wrap: break-word;
word-wrap: break-word;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
color: #000000;
font-family: メイリオ, Meiryo, Osaka, “ヒラギノ角ゴ Pro W3″, “Hiragino Kaku Gothic Pro”, “MS Pゴシック”, “MS PGothic”, sans-serif; /*"Raleway", Arial, sans-serif;*/
font-weight: 800;
margin: 0.75em 0;
}

②背景
外観→背景→画像のアップロード→タイル

③もし反映されなかったら・・・
キャッシュを消去します。履歴→キャッシュ→すべて

変更前と比較をば。変更後もタイトルが薄いですね。

brg5191

 

 

参考
http://wp.8jimeyo.info/theme/font-family/
http://wpdocs.sourceforge.jp/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%91%E3%83%BC%E3%83%9F%E3%83%83%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%AE%E5%A4%89%E6%9B%B4
http://www.adminweb.jp/wordpress/theme/index6.html