vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=264)
-   -   Full Width Header, 1000px body (https://vborg.vbsupport.ru/showthread.php?t=308377)

temsamane 02-14-2014 11:27 PM

Full Width Header, 1000px body
 
How can i create a full width header in vb5? (body 800 px)


PHP Code:

#header .site-logo img {width: auto; max-width:none;} 

did not work for me

Max Taxable 02-15-2014 12:02 AM

max-width 100%

temsamane 02-15-2014 11:04 AM

I tried

PHP Code:

#header .site-logo img {width: auto; max-width 100%;} 

nothing is changed.

Max Taxable 02-15-2014 01:48 PM

I'm a total clueless oaf when it comes to vBulletin version 5. Someone knowledgeable like Lynne will be along, stay patient.

jessicajonnie 02-24-2014 05:50 PM

I'm trying to do this as well. Thanks!

RichieBoy67 02-24-2014 06:14 PM

Did you change this in Stylavars as well?

Also, if you are using width 100% you do not need auto.

Seven Skins 02-24-2014 11:14 PM

You can do something like this but your site will not display nicely on mobile devices.

Code:

#header .site-logo {
        min-width:800px;
        max-width:8000px;
}
#header .site-logo img {
        height: 100px;
        width:800px;
        max-width:800px;
}


Max Taxable 02-24-2014 11:20 PM

Quote:

Originally Posted by Seven Skins (Post 2483529)
You can do something like this but your site will not display nicely on mobile devices.

Code:

#header .site-logo {
        min-width:800px;
        max-width:8000px;
}
#header .site-logo img {
        height: 100px;
        width:800px;
        max-width:800px;
}


I think that would work for what the OP appears to be asking. Not sure how vB5 treats mobile browsers - does it have a app or a separate style for those?

Seven Skins 02-24-2014 11:26 PM

Not sure .. I haven't used/played around too much with vb5 yet ... lol

Max Taxable 02-24-2014 11:32 PM

Quote:

Originally Posted by RichieBoy67 (Post 2483496)
Did you change this in Stylavars as well?

Also, if you are using width 100% you do not need auto.

I missed that in his post. Yes this would seem to negate the max-width definition completely.


All times are GMT. The time now is 11: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.01430 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete