ワードプレスのスタイルシート内に、ページ全体のリンクの指示がされています。
告知記事内にCSSを使ったお申し込みボタンを使いたいのですが、
全体のリンクの指示での表示になってしまいます。
解決方法を教えてください。
よろしくお願い致します。
【スタイルシートに入力されているリンクの指示】
/* link
------------------------------------------------------------------------*/
.naibu::before {
font-family: FontAwesome;
content: '\f18e';
padding: 0 5px 0 1px;
font-size: 0.9em;
color:#5a3719;
}
.gaibu::after {
font-family: FontAwesome;
content: '\f08e';
padding: 0 1px 0 3px;
font-size: 0.9em;
color:#5a3719;
}
【反映しない固定ページに使いたいボタンの指示】
html
<a href="#" class="square_btn">BUTTON</a>
スタイルシート
.square_btn {
display: inline-block;
padding: 0.3em 1em;
text-decoration: none;
color: #67c5ff;
border: solid 2px #67c5ff;
border-radius: 3px;
transition: .4s;
}
.square_btn:hover {
background: #67c5ff;
color: white;
}
回答1件
あなたの回答
tips
プレビュー