Simplicityの特徴 › フォーラム › テーマファイルのカスタマイズに関する質問など › サイドバーのカスタマイズしても、CSSが反映されない
- このトピックは空です。
-
投稿者投稿
-
-
2024年7月20日 4:10 PM #62573
はるか
ゲストいつもSimplicityを利用させていただいております。
初めてのブログ作成で、分からないことも多いのですが、非常に使いやすいテーマで、このテーマにしてよかったなあと思っております。グーグルやフォーラムを検索しても分からず、2点質問させていただきたいことがあります。
・下記サイトを参考にサイドバーのタグクラウドをカスタマイズしたいのですが、CSSが反映されません。
https://nelog.jp/wp-tag-cloud-custom・下記サイトの「ソースコード(オーガニック)」を参考にサイドバーのカテゴリーをカスタマイズしたいのですが、CSSが反映されません。
https://repobu.com/2016/04/02/simplicity-custom/
.widget_categories ul{
margin-left: 0em;
margin-top:0px;
border-top:0px solid #DCDCDC;
border-left:1px solid #DCDCDC;
border-right:1px solid #DCDCDC;
border-bottom:1px solid #DCDCDC;
padding-left:0em !important;
list-style:none;
}
.widget_categories li{
width:100%;
margin-bottom:0px !important;
font-size:14px;
}
.widget_categories li+li{
border-top:1px dashed #DCDCDC;
}
.widget_categories li a:before{
font-family: FontAwesome;
content:”\f152″;
margin-right:10px;
margin-left:15px;
color:#313131;
}
.widget_categories li a{
text-decoration: none;
color:#313131;
display:block;
line-height:40px;
-webkit-transition: all 0.6s ease;
-moz-transition: all 0.6s ease;
-o-transition: all 0.6s ease;
transition: all 0.6s ease;
}
.widget_categories li a:hover {
background:#DCDCDC;
margin-bottom:0px;
}
.widget_categories .widget_title:before{
content:” “;
border-left:5px solid #DCDCDC;
border-top:0px;
border-bottom:0px;
margin-right:5px;
}
.widget_categories .widget_title{
padding:10px;
color:white;
background:#1E90FF;
font-size:16px !important;
margin-bottom:0px !important;
}このコードをStyle css に書き込みました。
優先順位が低いのかと思い、Specificity Calculatorで調べたのですが、全く分からず…
なお、私のサイトは下記URLです。
https://chikkoi.com/すみませんが、ご確認をお願いいたします。
-
-
投稿者投稿
- フォーラム「テーマファイルのカスタマイズに関する質問など」には新規投稿および返信を追加できません。