vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   Style References for vBulletin 4.x (https://vborg.vbsupport.ru/showthread.php?t=256370)

TheLastSuperman 01-12-2011 06:36 PM

Quote:

Originally Posted by fluidswork (Post 2145855)
Thanks for help ................

Quote:

Originally Posted by Gn_Snake (Post 2146950)
Very Nice Article :up:
Thanks TheLastSuperman

No problem you two and if you have any questions don't be afraid to post :D.

fluidswork 02-18-2011 11:21 AM

Hello TheLastSuperman,

How are you ? I have some question about the header part here are they ....

- first is there any way to increase header height ?
- how can i bring the logo to middle .....
- how to bring some space above the header as i want to place an advertisement there ....


and last but not the lest can you tell me just the stylevars that are used in this image below to make it look something like that .... as if you can tell me then i will get the complete knowledge about how to edit the header part .....

https://vborg.vbsupport.ru/external/2011/02/16.png

I hope i didn't disturbed you as if you can help me out lil bit ....

Thanks

bearcub 02-21-2011 06:59 PM

This is a fantastic article and will help me immensely.

TheLastSuperman 02-22-2011 12:35 AM

Quote:

Originally Posted by fluidswork (Post 2163922)
Hello TheLastSuperman,

How are you ? I have some question about the header part here are they ....

- first is there any way to increase header height ?
- how can i bring the logo to middle .....
- how to bring some space above the header as i want to place an advertisement there ....


and last but not the lest can you tell me just the stylevars that are used in this image below to make it look something like that .... as if you can tell me then i will get the complete knowledge about how to edit the header part .....

https://vborg.vbsupport.ru/external/2011/02/16.png

I hope i didn't disturbed you as if you can help me out lil bit ....

Thanks

Header height - Edit vbulletin-chrome.css and find:

Code:

.doc_header {
        _background-image:none;
        border:{vb:stylevar header_border};
        color:{vb:stylevar header_color};
        font:{vb:stylevar header_font};
        position:relative;
        min-height:35px;
        /*padding-bottom:{vb:math {vb:stylevar padding}/2};*/
        /*margin-bottom:{vb:math 2 * {vb:stylevar navbar_tab_size.height}}px;*/
}

Change min-height:35px; to the value you want OR add in a height:50px; but imo I would use min-height ;).

Header to the middle - You can find that info here: http://www.vbulletin.com/forum/showt...enter-the-Logo

Space above the header - You can add in a new DIV or simply increase the height I would think should not be too hard once you start tinkering ;).

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

Quote:

Originally Posted by bearcub (Post 2165108)
This is a fantastic article and will help me immensely.

Thanks and glad it's useful :cool:.

fluidswork 02-22-2011 02:19 AM

Thanks TheLastSuperman..... it helped me a lot in understanding how to resize the header ....

fxwoody 02-23-2011 12:11 PM

As usual, great tut TLSman ;)

yospeck 02-24-2011 11:27 AM

I'm a complete CSS novice so this is great for me (am working my way through the w3 page on CSS). However, I've looked everywhere I can think of, and as I'm still a novice I dont want to tinker too much just yet, but I can't for the life of me find where to change the default Times New Roman text for the "The Front Page" as the home page title. Really want to turn it into a sans-serif font.

TheLastSuperman 02-24-2011 04:35 PM

Quote:

Originally Posted by fluidswork (Post 2165240)
Thanks TheLastSuperman..... it helped me a lot in understanding how to resize the header ....

Great :cool:.

Quote:

Originally Posted by fxwoody (Post 2165773)
As usual, great tut TLSman ;)

TY TY :D.

Quote:

Originally Posted by yospeck (Post 2166228)
I'm a complete CSS novice so this is great for me (am working my way through the w3 page on CSS). However, I've looked everywhere I can think of, and as I'm still a novice I dont want to tinker too much just yet, but I can't for the life of me find where to change the default Times New Roman text for the "The Front Page" as the home page title. Really want to turn it into a sans-serif font.

That default text/font style is in the stylevars if I remember correctly ;). Also did you know? you can create a "Child Style" of your main style used and tinker your heart out? Yes and without interrupting or causing display issues for your members using the "Parent Style".

bitbender 02-26-2011 01:44 PM

At the cost of making just another "wow, this is great", post- I want you to know how much this thread is helping me make the journey from years of vb 3.7 bigotry to the world of VB4 :)

I've applied a lot of hacks and skin/template customizations in my 3.7 that it was always going to be a royal pain to get converted. The stylevar redo alone was very difficult for me as the vb is really inadequate on explaining this. Having to use the search process for every last style variable is a stone age approach, and you need a good understanding of CSS so you can determine the correct inheritance. The video is a good one, but it assumes you understand the context, and many do not.

The tools you listed here really, really help. So - Thank you. I hope you have a beverage of choice on me :)

I'm sorry if my opinion on vb stock documentation concerning stylevars offends developers, but it is a sorry piece of work in that respect. Any time we only document 40% of something, it's better off left undone. And being an IT Architect (mainframe thru PC's) for 33+ years and writing white papers for a living, I figure I've got a slight insight on the matter. Maybe it's just too many years of having every last bit (and i do mean a bit as in 8 to a byte) defined in IBM manuals and being able base programming and process off such a foundation has spoiled me.

At any rate, Superman, you did me a good service here.

TheLastSuperman 02-27-2011 02:14 AM

Quote:

Originally Posted by bitbender (Post 2167116)
At the cost of making just another "wow, this is great", post- I want you to know how much this thread is helping me make the journey from years of vb 3.7 bigotry to the world of VB4 :)

I've applied a lot of hacks and skin/template customizations in my 3.7 that it was always going to be a royal pain to get converted. The stylevar redo alone was very difficult for me as the vb is really inadequate on explaining this. Having to use the search process for every last style variable is a stone age approach, and you need a good understanding of CSS so you can determine the correct inheritance. The video is a good one, but it assumes you understand the context, and many do not.

The tools you listed here really, really help. So - Thank you. I hope you have a beverage of choice on me :)

I'm sorry if my opinion on vb stock documentation concerning stylevars offends developers, but it is a sorry piece of work in that respect. Any time we only document 40% of something, it's better off left undone. And being an IT Architect (mainframe thru PC's) for 33+ years and writing white papers for a living, I figure I've got a slight insight on the matter. Maybe it's just too many years of having every last bit (and i do mean a bit as in 8 to a byte) defined in IBM manuals and being able base programming and process off such a foundation has spoiled me.

At any rate, Superman, you did me a good service here.

Thank you so much for the sincere and kind words, I truly do appreciate your sentiment ;) and I know things will become better on the documentation, it has recently so I look forward to it improving however we can't compare apples to oranges nor should we imo :cool:. As for the drink.. I'm not much of a drinker, it's just how things turned out after overdoing it very badly one night, many years ago in a galaxy far, far away :D.


All times are GMT. The time now is 12:55 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.01471 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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