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 07-13-2013, 06:21 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can I make a three part forum header?

I've noticed on some of the nicer styles the designer has implemented forumheaders that consist of three images made up as a "right side", "center" and "left side".

Anyone have information they would like to share about how to do this?

The attachment shows just a regular single image forum header, I want a 3 piece.
Attached Images
File Type: jpg forumheader.jpg (43.3 KB, 0 views)
Reply With Quote
  #2  
Old 08-13-2013, 07:28 PM
Chivster Chivster is offline
 
Join Date: Aug 2013
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure its not designed as one image, but differently in Photoshop, etc?
Reply With Quote
  #3  
Old 08-13-2013, 07:36 PM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you show us an example?
Reply With Quote
  #4  
Old 08-13-2013, 08:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You put an image aligned left and aligned right and then the center image can just be a background image x-repeated.
Reply With Quote
Благодарность от:
Max Taxable
  #5  
Old 08-14-2013, 08:18 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You put an image aligned left and aligned right and then the center image can just be a background image x-repeated.
That's exactly what I have in mind :up: . What I need is the code to accomplish that.
Reply With Quote
  #6  
Old 08-14-2013, 08:25 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is our code we use for a small logo on the left, may be this can help get you started:

PHP Code:
/*NIRC FORUM HEAD CSS EDITS*/

.forumbit_nopost .forumhead .forumtitle a {
margin-left28px;
}

.
forumhead .forumtitle, .forumbits .forumhead h2 background:url(images/evid_blue/elements/forumhead.pngno-repeat top left; }

.
forumhead h2.forumtitle, .forumbits .forumhead h2 span.forumtitle text-indent:30px; }

.
forumbits .forumhead h2 span background-image:none; }

.
forumbit_nopost .forumhead span, .forumbits .forumhead h2 padding:10px 0px 8px 0px; }

.
forumbit_nopost .forumhead .collapse padding:10px 0px 8px 0px; }

.
forumbit_post .forumhead h2 span padding:10px 0px 8px 0px; }

.
forumbit_nopost .forumhead .forumtitle padding:10px 0px 8px 0px; }

.
forumbit_nopost .forumhead a.collapse img top:-2pxright:4.4px; }

.
blockhead img padding-top:2pxpadding-right:5px; }

/*NIRC FORUM HEAD CSS EDITS*/ 
But I'm not 100% sure if this is what you are looking.
Reply With Quote
  #7  
Old 08-14-2013, 08:38 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tricksodave View Post
This is our code we use for a small logo on the left, may be this can help get you started:

PHP Code:
/*NIRC FORUM HEAD CSS EDITS*/

.forumbit_nopost .forumhead .forumtitle a {
margin-left28px;
}

.
forumhead .forumtitle, .forumbits .forumhead h2 background:url(images/evid_blue/elements/forumhead.pngno-repeat top left; }

.
forumhead h2.forumtitle, .forumbits .forumhead h2 span.forumtitle text-indent:30px; }

.
forumbits .forumhead h2 span background-image:none; }

.
forumbit_nopost .forumhead span, .forumbits .forumhead h2 padding:10px 0px 8px 0px; }

.
forumbit_nopost .forumhead .collapse padding:10px 0px 8px 0px; }

.
forumbit_post .forumhead h2 span padding:10px 0px 8px 0px; }

.
forumbit_nopost .forumhead .forumtitle padding:10px 0px 8px 0px; }

.
forumbit_nopost .forumhead a.collapse img top:-2pxright:4.4px; }

.
blockhead img padding-top:2pxpadding-right:5px; }

/*NIRC FORUM HEAD CSS EDITS*/ 
But I'm not 100% sure if this is what you are looking.
It doesn't appear to be because the code I see in your's looks like it's controlling the forumhead not the header?
Reply With Quote
  #8  
Old 08-14-2013, 08:40 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your pic above ^ shows the forumhead, not the header, that's why I asked to see an example
Reply With Quote
  #9  
Old 08-14-2013, 07:18 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tricksodave View Post
Your pic above ^ shows the forumhead, not the header, that's why I asked to see a example
It sure does .... sorry about that.
Either or both would be sufficient as I'm attempting to create a style that requires both.

Thanks for pointing that out to me.
Reply With Quote
  #10  
Old 08-15-2013, 02:05 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you post a link to an example, then we can just get the CSS/code used right from that.
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 10:34 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.04549 seconds
  • Memory Usage 2,296KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_php
  • (3)bbcode_quote
  • (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
  • (1)postbit_attachment
  • (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_attachment
  • 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