Wordpressテーマ”Customizr”で企業サイトを作成しています。
各ページに書いたcssが反映されるページとされないページがあります。
Customizr_childのカスタマイズcssも反映されたり、されなかったり不安定です。
なにか設定が必要でしょうか?
こちらは、最近投稿で設定したボタンですが、cssがまったく効いていません。
アドバイスいただきたいです。
よろしくお願いします。
HTML
1<style type="text/css"> 2 3.0826button { 4 width:200px; 5 height:54px; 6 text-align: center; 7 text-decoration: none; 8 line-height: 54px; 9 outline: none; 10 background-color: #333; 11 color: #fff; 12} 13.0826button::before, 14.0826button::after { 15 position: absolute; 16 z-index: -1; 17 display: block; 18 content: ''; 19} 20.0826button, 21.0826button::before, 22.0826button::after { 23 -webkit-box-sizing: border-box; 24 -moz-box-sizing: border-box; 25 box-sizing: border-box; 26 -webkit-transition: all .3s; 27 transition: all .3s; 28} 29 30.0826button:hover { 31 background-color: #59b1eb; 32} 33 34.time01{ 35 width: 100%; 36} 37 38.time02 { 39 float:left; 40 width:50%; 41 box-sizing:border-box; 42 display:block; 43 list-type-style:none; 44 } 45 46.clearfix { 47clear:both; 48} 49 50 51</style> 52 53 54<ul class="time01 clearfix"> 55<li class="time02"> 56<a class="0826button" href="" >Demo</a> 57</li> 58<li class="time02"> 59<a class="0826button" href="" >Download</a> 60</li> 61</ul>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/08/30 03:19