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)
-   -   How can I make a three part forum header? (https://vborg.vbsupport.ru/showthread.php?t=300076)

K4GAP 07-13-2013 06:21 PM

How can I make a three part forum header?
 
1 Attachment(s)
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.

Chivster 08-13-2013 07:28 PM

Are you sure its not designed as one image, but differently in Photoshop, etc?

Disco_Dave 08-13-2013 07:36 PM

Can you show us an example?

Lynne 08-13-2013 08:17 PM

You put an image aligned left and aligned right and then the center image can just be a background image x-repeated.

K4GAP 08-14-2013 08:18 AM

Quote:

Originally Posted by Lynne (Post 2438719)
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.

Disco_Dave 08-14-2013 08:25 AM

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.

K4GAP 08-14-2013 08:38 AM

Quote:

Originally Posted by tricksodave (Post 2438785)
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?

Disco_Dave 08-14-2013 08:40 AM

Your pic above ^ shows the forumhead, not the header, that's why I asked to see an example ;)

K4GAP 08-14-2013 07:18 PM

Quote:

Originally Posted by tricksodave (Post 2438789)
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.

Lynne 08-15-2013 02:05 AM

If you post a link to an example, then we can just get the CSS/code used right from that.


All times are GMT. The time now is 07:07 AM.

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.01204 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (3)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