Floating banner on the left site

Posted in: Newspaper
Post count: 53

How is it possible to get on the left site a floating skyscraper?

I have the “Full responsive (980px)” design and I need a skyscraper on the left site. Is this possible?

Screenshot: http://imgur.com/mWb8gaB

Post count: 9544

You will likely want to look into some of the popular DHTML, Ajax, and Java resources sites, like the one I’ve used for a decade or more DynamicDrive, etc.

e.g. http://www.dynamicdrive.com/dynamicindex15/index.html

Post count: 53

I have added this code to header.php (below <div id="outer-wrap">):

<div id="ad-left">
<a href="https://www.google.com/" rel="nofollow" target="_blank"><img src="http://dummyimage.com/160x600/ff0000/fff.gif" /></a>
</div>

and this to custom CSS:

#ad-left {
    float: left;
    position: absolute;
    margin-left: 20px;
    margin-top: 15px;
}

The problem is that the banner is not clickable. When a new site is loaded the banner displaces the site content until the custom CSS is loaded…

Post count: 9544

You likely need to increase the z-index on the div to make the content layer higher for the ad to be clickable (not sure if this is correct).

Post count: 53

Thank you for the tip.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.