Apply drop shadow to only part of the container?
...or move adsense code outside container area?
I successfully put my adsense code above my header in the Configure Header Area (style header). I also successfully put a drop shadow around the container in the Layout Container Style area (style layout). Now I'd like to remove the box shadow from just the adsense part of the container so that the gray ad background blends into the rest of the gray body background, rather than have a shadow separating the two grey areas. I tried to apply the box shadow to only the header and left/right widget areas to no avail. I just doesn't look right. I suppose there might be a way to put a widget outside the container and add the adsense code, which may achieve the same desired result, but my testing was unable to get this approach to work. I also know I could add a background image and create the drop shadow effect but I'm not sure how to create padding for that image if it's to be repeated. Ideas? Thanks. http://deepinsidethekings.com/ |
For that you will probably have to put code in the HTML Inserts: Body top box in the theme options and then use CSS to tweak.
|
Quote:
|
You could put a new widget code in the [HTML Inserts: Body Top] area, add a widget to it with your adsense code and style with css.
|
Quote:
I that what you meant? |
If you have version 3.7.3 the php code for new widget areas can still be used.
|
Quote:
I tried putting this (<?php bfa_widget_area('name=new widget'); ?>) into the Body Top field but nothing happened at first. I tried it again and viola, pefect. So why then does it say "PHP code cannot be used anymore" for those fields if it can? Thanks again. Such an easy fix. |
All other PHP cannot be used. The ability to use new widget area PHP was added at one point but not documented inside the theme as well as it could have been. This may be taken care of in a future version.
|
All times are GMT -6. The time now is 01:26 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.