PDA

View Full Version : Struggling with Ad Location in Header


PokerVillain
11-13-2013, 02:53 PM
Hello,

Hopefully there will be a quick solution to this;

We are looking to place a 468x60 banner directly under the following links on our forum (http://linkslistforum.com)

"Welcome" "Notifications" "Profile" "Settings" "Logout"

All these links appear in the upper right corner of the forums.

We've tried editing ad_global_header2 with no luck - the ad appears but it's to the direct right of the logo and nowhere near the placement we're looking for. I've included the code below that we're trying to add;

<a href="http://xrumergeek.com/"><img src="http://xrumergeek.com/images/xrmonthly.gif" border="0"></a>

Here as an example of a forum that has the ad location we are looking for; http://getlinklist.com/

Any help, greatly appreciated.

Cheers!

nerbert
11-13-2013, 03:18 PM
You could try adding

style="float:right;clear:both;"

to the ad link

synseal
11-13-2013, 04:14 PM
With your ad in ad_global_header2

Try adding this to additional css


.ad_global_header {
position: relative;
top: 15px;
float: right;

You will also have to add this to make the ad fit in the header.

.doc_header {height: 90px;}

You may have to play about with it.

PokerVillain
11-15-2013, 06:37 PM
Many thanks for the replies, banner is displaying fine as a result. :)

--------------- Added 1384552852 at 1384552852 ---------------

Is there any way to have a small gap between the bottom of the banner, and the second lot of navigational buttons below? You can view the current code working here (http://linkslistforum.com). Perhaps the same gap between the banner and the buttons that appear above it currently?

PokerVillain
11-20-2013, 08:04 PM
Is there any way to have a small gap between the bottom of the banner, and the second lot of navigational buttons below? You can view the current code working here (http://linkslistforum.com). Perhaps the same gap between the banner and the buttons that appear above it currently?

synseal
11-21-2013, 04:49 PM
If you change this

.doc_header {height: 90px;}

Play with that a bit then move the banner about by changing the value in red.

.ad_global_header {
float:right;
position:relative;
right:3px;
top:13px;