vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to change ad_global_header2 location (https://vborg.vbsupport.ru/showthread.php?t=318031)

nolimitreef 03-29-2015 04:21 PM

How to change ad_global_header2 location
 
Hi, I need to change ad_global_header2 location to right position and Top 190px in fluid vb 4.2.2pl4. How would I go about this?

Thank you!

Lynne 03-30-2015 09:45 PM

Probably something like:

HTML Code:

#ad_global_header2 {
  float:right;
  top: 190px;
}

It's hard to know if that will work though without a link to the site with the ad on it.

nolimitreef 03-31-2015 04:28 AM

Thank you Lynne for replying :D

Where (what file) would I add this? Directly in the header?

The banner is not on the site since it messes up the top of the page. It drops to below
the site is http://www.nolimitreef.com

I would really like to stack both header1 and header2 on the right to be able to run standard size (468x60) banner rotators in them. But have looked everywhere for an answer to this

--------------- Added [DATE]1427784018[/DATE] at [TIME]1427784018[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 2541965)
Probably something like:

HTML Code:

#ad_global_header2 {
  float:right;
  top: 190px;
}

It's hard to know if that will work though without a link to the site with the ad on it.

Would I do this by styles and templates/ search templates/header/ad_global_header2 ? And add the code into template field?

--------------- Added [DATE]1427785483[/DATE] at [TIME]1427785483[/TIME] ---------------

OK, I tried what I last said... didn't really work. It shows up under the navbar on the left. Not only that but it's the java script that shows and not the ad. I was with the understanding that Java script can be used here. We don't want to use Adsense as it's rarely relevant to our site. Please tell me there is a way to do this without using adsense and that I can use a simple java script banner rotator?

TheLastSuperman 03-31-2015 05:28 AM

Check Lynne's signature ;) - Always post in additional.css template, thats under the CSS Templates >>

nolimitreef 03-31-2015 06:21 AM

Thank you :D

--------------- Added [DATE]1427790682[/DATE] at [TIME]1427790682[/TIME] ---------------

I added it into the additional.css but it doesn't show. Am I missing something? Do I need to point to additional.css in some way?

Thank you VERY much for helping me on this :D

--------------- Added [DATE]1427822444[/DATE] at [TIME]1427822444[/TIME] ---------------

This is what I have so far. Is anything missing or incorrect
Code:

the call in global_header:

<div class="ad_global_header">
                {vb:raw ad_location.global_header1}
                {vb:raw ad_location.global_header2}
        </div>


then in ad location templates it's blank:

ad_locations_header1
ad_locations_header2




additional.css:

#ad_global_header1 {
  float:right;
  top: 100px;
}

#ad_global_header2 {
  float:right;
  top: 170px;
}


Then in the source after the page is called it shows only this:

<div class="ad_global_header">
               
               
        </div>


Lynne 03-31-2015 04:19 PM

As I said before, we really need to see this so we can use something like firebug on it to see the CSS.

nolimitreef 03-31-2015 04:30 PM

Quote:

Originally Posted by Lynne (Post 2542047)
As I said before, we really need to see this so we can use something like firebug on it to see the CSS.

Do I need to give you cp permissions or what do I need to do to help you?

the website is http://www.nolimitreef.com

--------------- Added [DATE]1427826856[/DATE] at [TIME]1427826856[/TIME] ---------------

I cannot tell you how much we appreciate your help... we've been trying to get this working over a month and it's pretty important to this website. So a HUGE thank you for anything you can do to help us get this issue resolved :D

Lynne 03-31-2015 08:17 PM

I still don't see any ads on the page though. And do you have an image of what you want it to look like? I'm trying to figure out where you want ads on there when you have a couple of images that are probably going to be in the way of your ads. Not everybody has their browsers really wide open. Right now, your 'wordy' images take up 2/3 of the banner area. If you had a couple of ads on the right, one of them is going to have text over it.

nolimitreef 03-31-2015 09:06 PM

Quote:

Originally Posted by Lynne (Post 2542064)
I still don't see any ads on the page though. And do you have an image of what you want it to look like? I'm trying to figure out where you want ads on there when you have a couple of images that are probably going to be in the way of your ads. Not everybody has their browsers really wide open. Right now, your 'wordy' images take up 2/3 of the banner area. If you had a couple of ads on the right, one of them is going to have text over it.

Ok, the "reefbay" image can be moved more to the left as it is actually part of the background image. I can get edit the background. Then there is a clear image map over top those to create hot spot links. Also can be moved/resized. I wanted to stack both header1 and header2 on the right of the page using standard banner image size of 468x60. And hope to be able to put a simple banner rotator script in each. My banner is turned on but isn't showing. I would like them to to look like another reef website has theirs. http://www.reef2reef.com

The ads are turned on... they aren't showing


All times are GMT. The time now is 09:25 AM.

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.01175 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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