バグ報告Ver.0.1.2

リリースメモ
この記事は約2分で読めます。
記事内に広告が含まれています。

【件名】「カラム」ブロックの中に「FAQ」ブロックを配置すると期待した表示とならない

現象

現象

「カラム」ブロックの中に、「FAQ」ブロックを配置した。
この時、図1に示すように、期待した表示とならない。

原因

原因

親テーマCSSが優先され、CSSが反映されない。

対策

パスファイル名
/skin-made-in-heaven/style.css

importantを付加し、以下のコードに変更する。

.body .faq .faq-item-label {
  font-weight: bold;
  font-size: unset!important;/*★*/
  margin-right: 0.5em;
  padding: 0!important;/*★*/
  text-align: center;
  width: 1.8em;
}

.is-style-accordion .faq-question {/*★*/
  background-color: #eee!important;
  padding: var(--padding15)!important;/*★*/
}
タイトルとURLをコピーしました