vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Struggling with Ad Location in Header (https://vborg.vbsupport.ru/showthread.php?t=304488)

PokerVillain 11-13-2013 02:53 PM

Struggling with Ad Location in Header
 
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

Code:

"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;

Code:

<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;
Code:

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

Code:

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

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

Code:

.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 [DATE]1384552852[/DATE] at [TIME]1384552852[/TIME] ---------------

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. 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. 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

Code:

.doc_header {height: 90px;}
Play with that a bit then move the banner about by changing the value in red.

Code:

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



All times are GMT. The time now is 08:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01520 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete