sponsor

変更する前にバックアップすることをオススメします。

Google Adsenseの黄色などの背景色を表示しない方法

アドセンス WP CSS
アドセンス
WP CSS
sponsor

Googleアドセンスの背景色

利用するテーマによっては、Googleアドセンスの広告の背景色が青や黄色になって表示されてしまう場合があります。そんな時の対処法を記載します。

アドセンス
アドセンス
sponsor

insタグで背景色を指定

insタグで背景色を変更します。それでだけで、黄色や青の背景色は表示されなくなります。

sponsor

背景を透明にする場合

mark, ins {
background: transparent;
text-decoration: none;
}
  • mark, ins {
  • background: #fff;
  • text-decoration: none;
  • }
sponsor

背景が白の場合

mark, ins {
background: #fff;
text-decoration: none;
}
  • mark, ins {
  • background: #fff;
  • text-decoration: none;
  • }