Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2013, 02:53 PM
PokerVillain PokerVillain is offline
 
Join Date: Jul 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 11-13-2013, 03:18 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try adding

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

to the ad link
Reply With Quote
  #3  
Old 11-13-2013, 04:14 PM
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 11-15-2013, 06:37 PM
PokerVillain PokerVillain is offline
 
Join Date: Jul 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 11-20-2013, 08:04 PM
PokerVillain PokerVillain is offline
 
Join Date: Jul 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 11-21-2013, 04:49 PM
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04154 seconds
  • Memory Usage 2,208KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete