ブログの広告を消す方法(まとめ)
ブログの広告を消す方法ですが、以下のそれぞれの記事で紹介しました。
記事下の広告を薄くする方法
フッター広告の色を薄くする方法
横のPR広告の色を薄くする方法
サイドテキスト広告の色を薄くする方法
けど、記事が別々になっていると不便なので、手軽にコピペできるようにまとめてソースを書いておきます。以下を、CSSの編集に入って、挿入してください。
---------------------------------------
/*記事下のグーグル広告を薄く*/
#general .gadDescription{ color:#cccccc; }
#general .gadTitle{ color:#cccccc; }
#general .gadDisplayURL{ color:#cccccc; }
#gadLogo_footer a{ color:#cccccc; }
.general .gadDescription{ color:#cccccc; }
.general .gAdTitle0{ color:#cccccc; }
.general .gadDisplayURL{ color:#cccccc; }
.gadLogo_footer a{ color:#cccccc; }
/* フッター広告の色を薄くする */
#footer_ad a{ color:#cccccc; }
/* PR広告の色を薄く */
#defaultAd a{
opacity:0.15;
filter:alpha(opacity=15);
-ms-filter:alpha(opacity=15);
}
/* サイドテキスト広告の色を薄くする */
#sideTextAd a{ color:#cccccc; }
---------------------------------------
これで、広告が薄くなり、見せたい部分が際立つようになります。
なお、広告の改造は自己責任でお願いします。
記事下の広告を薄くする方法
フッター広告の色を薄くする方法
横のPR広告の色を薄くする方法
サイドテキスト広告の色を薄くする方法
けど、記事が別々になっていると不便なので、手軽にコピペできるようにまとめてソースを書いておきます。以下を、CSSの編集に入って、挿入してください。
---------------------------------------
/*記事下のグーグル広告を薄く*/
#general .gadDescription{ color:#cccccc; }
#general .gadTitle{ color:#cccccc; }
#general .gadDisplayURL{ color:#cccccc; }
#gadLogo_footer a{ color:#cccccc; }
.general .gadDescription{ color:#cccccc; }
.general .gAdTitle0{ color:#cccccc; }
.general .gadDisplayURL{ color:#cccccc; }
.gadLogo_footer a{ color:#cccccc; }
/* フッター広告の色を薄くする */
#footer_ad a{ color:#cccccc; }
/* PR広告の色を薄く */
#defaultAd a{
opacity:0.15;
filter:alpha(opacity=15);
-ms-filter:alpha(opacity=15);
}
/* サイドテキスト広告の色を薄くする */
#sideTextAd a{ color:#cccccc; }
---------------------------------------
これで、広告が薄くなり、見せたい部分が際立つようになります。
なお、広告の改造は自己責任でお願いします。