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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2015, 03:40 AM
afterburn25 afterburn25 is offline
 
Join Date: Apr 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default header background

I had a problem with my template. the header was only 62px from top to bottom the logo did not automatically increase header size it basically but the header under the nav bar.
I adjusted the header size to fit the logo. however not it didn't increase it with the backgtound image so now has a white space in between

here is page http://www.spicypantry.com how do i fix it so the bg image fills the entire header
Reply With Quote
  #2  
Old 01-15-2015, 03:56 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it looking pretty good by using inline styles;

Find <div id="header"

Code:
<div id="header" class="floatcontainer doc_header" style="height: 230px;">
		<a name="top" href="forum.php?" id="logo" style="top: 70px;">
Reply With Quote
Благодарность от:
Max Taxable
  #3  
Old 01-15-2015, 04:13 AM
afterburn25 afterburn25 is offline
 
Join Date: Apr 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes that changes the height but it doesn't add the upper background image to the whole header all i have is white space
Reply With Quote
  #4  
Old 01-15-2015, 05:12 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don'tknow what you mean by upper background image, The black bar with login links?

Looks like you changed floatcontainer class to "display:block". That messes up your navbar links and scrunches them all up. Try setting div id="header to "width:100%" instead.

I dunno why vB makes logo placement so tedious! I've helped some other people with this stuff and had a bad time with it on my own forum

EDIT : You have a top value of 20 px for #toplinks in additional css that you probably don't want
Reply With Quote
  #5  
Old 01-15-2015, 05:28 AM
afterburn25 afterburn25 is offline
 
Join Date: Apr 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no that doesnt work all i need to do is have the background image show up over the whole header there is a white space inbetween the nave bar and the top login panel

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

also need to float the nave bar links to the left instead of center

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

I didnt change it its this stupid template i dont know why they designed it this way
Reply With Quote
  #6  
Old 01-15-2015, 06:32 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured some of this out. Restore your template back to original and restore your style settings.

Now use inline style to give the header div "overflow-y:hidden;" Now it will expand vertically for any image. As for having the black extend all the way down to the navbar I don't think you can do that because it's an image in class doc_header. I would just get rid of the image and set header background color to whatever you want.
Reply With Quote
  #7  
Old 01-15-2015, 06:51 AM
afterburn25 afterburn25 is offline
 
Join Date: Apr 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im not very good with styles and have no idea about how to use inline style i cant find it
Reply With Quote
  #8  
Old 01-15-2015, 07:14 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<div id="header" class="floatcontainer" style="overflow-y:hidden; background-color:#404040;">
I removed class doc_header to get rid of the black top. I don't know what background-color you want. See http://www.w3schools.com/html/html_colors.asp

Anywway I'm off to bed. Will check tomorrow
Reply With Quote
  #9  
Old 01-15-2015, 03:27 PM
afterburn25 afterburn25 is offline
 
Join Date: Apr 2013
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i tried it without doc header but wouldn't work just screwed everything up and put nav bar at top of page I tweaked it a bit and found this worked

Code:
<div id="header" class="floatcontainer doc_header" style="height: 160px; background-color:#00364A;">
how does it look http://www.spicypantry.com

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

honestly kinda thinking maybe a background image would look nicer there anyway i can use an image instead of color
Reply With Quote
  #10  
Old 01-15-2015, 03:57 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're going to keep doc_header in there, either get rid of the image part of it or get a nice image 160 px tall.

If you need a gradient image I can make one.
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:20 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.04242 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete