Latest Designs - Click on image below for a live demo

I love the way Artisteer themes have built in widget areas above the content and sidebars, but what if you want to place a full width banner or ad above both of these?  This is an easy tutorial on how to do just that!

First add the following code to the bottom of your header.php:

1
2
3
4
5
<div class="top-ad" style="width: 100%; text-align:center;">

YOUR AD CODE

</div>

Next add the following code to the bottom of your style.css:

1
2
3
4
5
6
7
/* ad area above content and sidebar */
.top-ad {
position: relative;
margin-top:1px;
margin-bottom:-5px;
z-index:3000;
}

You may have to tweak the margins in order to get the right position for you, but these will get you close. :)

Introducing a brand new WordPress Thesis Theme for 2012 I specifically created for the Frugal Blogger. This two column custom theme has 4 built-in widgetized areas in the header and footer. Other built-in widget areas make switching out ads a breeze (Above content, below content, after posts, after 1st post only, after 2nd post only, after 3rd post only, below footer).  Click HERE for the live demo.  Email me for purchase instructions.  Includes theme installation.

If you find yourself in a situation where two images are overlapping each other, but the one you want on top is currently on the bottom, add the following code in your CSS:

1
2
position: relative;
z-index: 5;

This code has to be applied to where both images are being called. For example, you would put z-index: 5; for the first one and z-index: 4; for the second image. The higher z-index number will be on top. This works great for overlaying transparent images over banners and such.


Two bills before Congress, known as the Protect IP Act (PIPA) in the Senate and the Stop Online Piracy Act (SOPA) in the House, would censor the Web and impose harmful regulations on American business. Millions of Internet users and entrepreneurs already oppose SOPA and PIPA.

The Senate will begin voting on January 24th. Please let them know how you feel. Sign this petition urging Congress to vote NO on PIPA and SOPA before it is too late.

CLICK IMAGE ABOVE FOR MORE INFORMATION

Categories

Impact
Search & Win

Link To Me

If you find anything useful, please