vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Multiple Header Images (https://vborg.vbsupport.ru/showthread.php?t=259542)

Illuvatar 02-27-2011 05:59 PM

Multiple Header Images
 
Has anybody used mutiple header images in V4 and if so how please?

As you can see from this site here: www.i-bmw.com

They were running version 3.5 where the header template was table driven and had two images (one right and one left) so that no matter what size screen the site is viewed on, the header seemed to magically adjust to fit just because one image is left aligned and the other is right aligned.

For version 4.1.2 that I'm running, the header template is now drivin with CSS using DIV, Class, etc. so simply inserting table code with another image defo did not work. LOL

My site is here: http://www.warofthering.net/indexnew.php and is currently hidden using "indexnew.php"...

As you can see, I've got the code in the additional.css template to center the main image, but have an image for the right and left sides that I want to use as well so that they "float" up too and away from the main image depending on screen size.

The class for the main image is ".logo-image" and the code to center it is
Quote:

.logo-image {
clear:both;
display:block;
float:none;
text-align:center;
padding-top: 20px;
}
Do I need to make new classes for the additional images? If so, where are they stored?

Is there an easier way to do this? Much appreciated!

LifesGreatestGift 02-28-2011 12:59 AM

I would need to see an example of what you are trying to do. You could put the side images in their own DIV and use z-index and positioning to make them go where you want.

Illuvatar 02-28-2011 01:35 AM

Okay....well....check this out here: www.i-bmw.com

They've got one on the left...one on the right....me....I'm going to have three....one in the middle (already there) and then one on either side.

I'll look into this z-index thing....not much of a coder to tell true....

Attitude5ire 02-28-2011 05:31 AM

If you are brave enough, you can try the new CSS3 multiple background tag :)
Multiple Backgrounds

Illuvatar 02-28-2011 05:29 PM

Quote:

Originally Posted by Attitude5ire (Post 2167763)
If you are brave enough, you can try the new CSS3 multiple background tag :)
Multiple Backgrounds

Thanks man...but not that brave.:o


All times are GMT. The time now is 07:00 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.00937 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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