Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Apply drop shadow to only part of the container?


  #1  
Old Jan 16, 2012, 04:14 PM
waveainair
 
10 posts · Oct 2009
...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/
  #2  
Old Jan 17, 2012, 06:09 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jan 17, 2012, 09:31 AM
waveainair
 
10 posts · Oct 2009
Quote:
Originally Posted by lmilesw
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.
Any idea what code?
  #4  
Old Jan 17, 2012, 11:48 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Jan 18, 2012, 12:42 PM
waveainair
 
10 posts · Oct 2009
Quote:
Originally Posted by lmilesw
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.
I believe PHP code is needed to create a new widget. PHP is no longer accepted in the [HTML Inserts: Body Top] area.

I that what you meant?
  #6  
Old Jan 18, 2012, 01:29 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
If you have version 3.7.3 the php code for new widget areas can still be used.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Jan 18, 2012, 01:46 PM
waveainair
 
10 posts · Oct 2009
Quote:
Originally Posted by lmilesw
If you have version 3.7.3 the php code for new widget areas can still be used.
Wow. That was easy. Thank you!

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.

Last edited by waveainair; Jan 18, 2012 at 01:57 PM.
  #8  
Old Jan 18, 2012, 05:01 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to create (drop) shadow effect around the layout container ? chris2009 Atahualpa 3 Wordpress theme 13 May 24, 2012 03:31 PM
How do I add a drop shadow to my layout? rockandstroll Atahualpa 3 Wordpress theme 1 Sep 1, 2011 01:40 AM
Box Shadow around layout container in IE Vcize Center area post/pages 1 Sep 4, 2010 07:35 PM
drop shadow on main container byronyasgur Header configuration & styling 1 Mar 16, 2010 06:29 PM
Drop shadow in center column kal Header configuration & styling 6 Jun 18, 2009 07:39 PM


All times are GMT -6. The time now is 09:48 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.