Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 07-12-2013, 03:30 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Odd Banner Advert Behaviour - Please Help!

I've been using Sryrus' modification here.

Trying to position an advert in the main banner that will look good across all browsers and resolutions but I can only get it looking right in Internet Explorer. In all other browsers I get some odd behaviour.

The more I stretch the browser window out, the advert follows it correctly to the right side up to a certain point and then it suddenly jumps back over to the left and then continues moving right again. I can't work out why it does this, but it means for resolutions on 1280x800 the position of the advert doesn't look nice.

There seems to be a difference when logged in compared to when logged out. When I'm logged in, this strange behaviour with the advert isn't there and it correctly moves to the right side as I stretch the window out. It's only when I'm logged out that it causes trouble.

Here are two screenshots, from within Chrome. One is logged out, the other is logged in. If anyone can help with this it would be greatly appreciated - thanks!

Logged Out Screenshot

Logged In Screenshot
Reply With Quote
  #2  
Old 07-12-2013, 05:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.
Reply With Quote
  #3  
Old 07-12-2013, 06:20 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply Lynne.

The reason I created a separate thread for this was because it seems to be a browser specific issue and also related to a difference between being logged in and logged out. I'm sure someone who knows more about developing would be able to see what the problem is quite quickly and fix it themselves but unfortunately it's just beyond me.

I've also asked Syrus for any help, but thanks in advance to anyone else who think they might be able to help too. It would be much appreciated!
Reply With Quote
  #4  
Old 07-12-2013, 11:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since you have a non-default style, and I'm guessing you also have other modifications, my guess is the problem is because of either changes to the style or changes to the style based on the usergroup. I'd suggest using firebug and checking the CSS differences between logged in and logged out users.
Reply With Quote
  #5  
Old 07-13-2013, 02:46 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again for the reply Lynne.

Just out of interest which template(s) would I need to look into to check on the CSS differences between logged in and logged out users? Seeing as this involves the banner area I'd guess at it being the header template, but I'm probably completely wrong.
Reply With Quote
  #6  
Old 07-13-2013, 06:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know nothing about that modification and therefore nothing about where any CSS for that modification was entered. I would just use firebug to look at the CSS and then do a Search in Templates for any line that is different.
Reply With Quote
  #7  
Old 07-14-2013, 03:10 PM
darnoldy darnoldy is offline
 
Join Date: Dec 2004
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The "modification" is actually just instructions how to modify the header template. I suspect (hard to know for sure without playing with your templates) that the log-in box is interfering with the ad position.

--don
Reply With Quote
  #8  
Old 07-14-2013, 06:42 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep that's right. It's simply just editing code in the header and vbulletin.css templates.

Thanks for the help guys. Do you know specifically which template has the login boxes? Would that be the header as well? I'll play around with it.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:56 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.03930 seconds
  • Memory Usage 2,220KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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