「TCD AWARD 2023」受賞サイトを発表しました。

ワードプレステーマ別

トップページ、サイドウィジェットの投稿日付を非表示にする

Q.トップページや、サイドバーウィジェットの日付は非表示にできますか?

A.下記cssファイルの該当箇所をご編集ください

トップページの日付を非表示にする

編集するファイル:style_pc.css
編集する箇所:

.post_item .post_date { width:70px; height:70px; text-align:center; margin:0; line-height:100%; padding:0; position:relative; float:left; background:#000; -moz-border-radius:50%; -khtml-border-radius:50%; -webkit-border-radius:50%; border-radius:50%; }

  ↓

.post_item .post_date { width:70px; height:70px; text-align:center; margin:0; line-height:100%; padding:0; position:relative; float:left; background:#000; -moz-border-radius:50%; -khtml-border-radius:50%; -webkit-border-radius:50%; border-radius:50%; display:none;}


サイドカラムのウィジェットの日付を非表示にする

編集するファイル:style.css
編集する箇所:

.widget_post_list li li.post_date { }

  ↓

.widget_post_list li li.post_date {display:none;}

この記事は役に立ちましたか?

もし参考になりましたら、下のボタンで教えてください。
今後の記事作成の参考とさせて頂きます!

同じテーマのカスタマイズ記事