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-01-2011 10:00 PM

Style References for vBulletin 4.x
 
1 Attachment(s)
vBulletin utilizes files and templates to render it's pages. As an administrator of your site you have access to the "Style Manager" which allows you to customize nearly every aspect of your style including the templates, css, and stylevars!

*Please keep in mind not everything related to your style in terms of CSS has a stylevar, you could be required to add in custom css if your going beyond the default style and or functionality of vBulletin.

Some useful links:

Now with all great things come some conditions am I right? Basically here's what you need to know in short... vBulletin comes with a default style, it's nice and subtle... why is it not popping or cutting edge? Well that's your perspective, you may think it's not up to par others love it, some want a light style and others a dark style and so forth. The default style can be customized or you can create your own new styles or even import free or paid styles into your site. One thing to bear in mind as with anything you customize sometimes additional maintenance is required, now what does that mean? It means if you heavily customize your sites style there is a chance when you upgrade that templates will not merge correctly... there's is a comparison tool built in but do not, I repeat do not assume things will always go smoothly - on some occasions they do and some they don't for a number of reasons and/or factors etc however the number one reason would be you chose to customize so don't become upset if your required to work on it every now and then ok? Overall what we need to realize is how it works, how we can customize it and then we have control!

Displaying the forum page, the templates are in this order from top to bottom:
  1. Header
  2. Navbar
  3. Forumhome
  4. Footer

Now that's a basic short version, as you can see in the images below there's more but where? Well the black numbered items in the list above are usually the constants meaning they are on all pages, the royal blue colored item is the one that interchanges if you will.

So another way to read it could be:
  1. Header
  2. Navbar
  3. Forumhome OR Forumdisplay OR Showthread etc etc.
  4. Footer

Now for those of you that have already delved into the style manager and the new stylevars system in vbulletin 4 you might be more familiar with this more complex breakdown:
  1. Header
  2. Headinclude
  3. headinclude_bottom
  4. Navbar
  5. Showthread *this wraps the postbit template and houses controls above and below.
  6. postbit
  7. Footer

Now I did say more complex and as you can see I mentioned the showthread template wraps the postbit template right? Well of course but how? vBulletin can call a template via a variable, so in the showthread template it calls the postbit template with one simple snippet of code... you can also call forth variables that display information and additionally you can also utilize template conditionals to show or hide data and present it in various ways within your sites templates i.e. style.

Now let's do a quick run-through of some of the templates we listed above, please see my notes above each image with color coded references.

Header

The header houses your logo, upper (toplinks) links for a member i.e. Notifications, Settings, and more.

To change your logo, you have two options:
Quote:

Easy = Overwrite the file /images/misc/vbulletin4_logo.png with the new logo simply name it the same i.e. vbulletin4_logo.png and upload to your images/misc directory.
Best = Edit the style variable (StyleVar) for it, AdminCP > Styles & Templates > Style Manager > *Select "StyleVars" in the drop-down menu. > *Now look for ImagePaths then under hit edit "titleimage" and provide the new URL to your custom logo.
To change the colors and effects of your toplinks:
Quote:

Edit the style variables per the above and find: Header and you'll see the stylevars below it with "toplinks" in front of the variables you edit to change ;).
To edit your header template:
Quote:

AdminCP > Styles & Templates > Style Manager > *Select "Edit Templates" in the drop-down beside the styles name. > *Once the new pages loads scroll down and find header and double-click to edit.
To edit most of the CSS and colors related to the header:
Quote:

AdminCP > Styles & Templates > Style Manager > *Select "StyleVars" in the drop-down beside the styles name. > *Once the new pages loads scroll down and find Header and view each stylevar to see a simple description of what it does - temporarily edit to note changes.
  • Shown in Red(1) is the header area.
  • Shown in Blue(2) is the logo or "title Image".
  • Shown in Orange(3) are the toplinks.

https://vborg.vbsupport.ru/external/2011/01/42.png



Navbar

The navbar houses your navbar tabs, their sub-links and menus, plus the breadcrumbs i.e. top navigation.

To edit your navbar template:
Quote:

AdminCP > Styles & Templates > Style Manager > *Select "Edit Templates" in the drop-down beside the styles name. > *Once the new pages loads scroll down and find Navigation and Breadcrumbs Templates and double-click to expand that "family" of templates, now find "navbar" and double-click to edit.
To edit most of the CSS and colors related to the header:
Quote:

AdminCP > Styles & Templates > Style Manager > *Select "StyleVars" in the drop-down beside the styles name. > *Once the new pages loads scroll down and find Navbar and view each stylevar to see a simple description of what it does - temporarily edit to note changes.
  • Shown in Red(1) is the navbar area.
  • Shown in Green(2) is a standard navtab. Some useful articles (guides) related to the navbar on how to add a new navtab, a drop-down navtab, and how to add in sub-menus etc can be found here.
  • Shown in Yellow(3) is a "selected" navtab or "navtab-selected" as you can see in the image.
  • Shown in Blue(4) is the navtab-selected sub-menu/sub-links and any drop-down menus as well.
  • Shown in Grey(5) is the navbar breadcrumbs or "upper navigation" as some call it. *If you wish to have this navigation duplicated and at the bottom of your site please see here.
  • Shown in Orange(6) is the Global search, you can swap out the vBulletin default search for Sphinx or even replace it with a Google Custom search.

https://vborg.vbsupport.ru/external/2011/01/43.png



Forum Home (Forumhome)

The forumhome template displays your categories, forums, and sub-forums depending on your preferences chosen in AdminCP > Settings > Options.
  • Shown in Red(1) is the forumhome_forumbit family of templates that make up all you see within the red box, you can customize these via editing templates and through stylevars found in the StyleVars under Forums.
  • Shown in Purple(2) is the forumhome_markread_script, this allows members to easily mark all the forums as read if desired i.e. they don't interact in a certain forum so to mark them all as read in order to view new posts in their desired forum etc etc.
  • Shown in Grey(3) is the Whats Going On? area commonly referred to as wgo, this can be customized via the CSS templates and also by editing the FORUMHOME template directly, some modifications can alter and display information differently, show recent visitors, show search "spiders" browsing and much more!
  • Shown in Yellow(4) is the forum sidebar and each "block" has it's own template that is used to display it within the sidebar area on the forumhome page.
    Quote:

    You can enable the sidebar by going to AdminCP > Settings > Options > Forum Sidebar and Block Options. After you enable simply create the blocks you desire and don't forget to reload the block types so new sidebar "blocks" display properly. To access them easily at any time after enabling the forum sidebar go to AdminCP > Forums & Moderators > Forum Blocks Manager. *This is not the same as the "sidebar" or "blocks" you see on the CMS i.e. Home page if you have the suite, those are referred to as a Widget and are enabled and implemented in a slightly different way!


https://vborg.vbsupport.ru/external/2011/05/34.png



Threadbit (Showing list of threads etc)

The threadbit template houses the list of all threads within a forum, if there are sub-forums they will be shown in a forumhome "forum" style above the list of threads.
  • Shown in Red(1) is the main part of the threadbit template.
  • Shown in Green(2) is the threadbit_alt_background or "stats".
  • Shown in Orange(3) is the lastpost part of the threadbit template.


https://vborg.vbsupport.ru/external/2011/01/44.png

Showthread/Postbit (Showing list of posts etc)

The showthread template houses the postbit template so basically the postbit or posbit_legacy templates are called from the middle of the showthread template then a thread is viewed with all posts shown. The showthread has controls above and below the postbit within it's own respective template.

There are two distinctive templates to choose from in regards to how your posts display. To access the setting for this and change go to:

AdminCP > Settings > Options > Style & Language Settings

Now look for: Use Legacy (Vertical) Postbit Template and please note the description;
Quote:

If you prefer the old-style postbit, using two vertical columns rather than the new horizontal layout, you can switch back to using that template with this switch.

Please note that if you enable this option and wish to customize the template, you should edit the 'postbit_legacy' template rather than the 'postbit'.
So using the postbit template your posts will appear as they do on vbulletin.org with the username and info running horizontal along the top of posts where as using the postbit_legacy template will display your posts within a box to the left of each post as you see here currently on vbulletin.com.
  • Shown in Red(1) are the parts of the postbit template.
  • Shown in Blue(2) are the parts of showthread and as you can see it also shows a reference of how it's above and below the postbit template.


https://vborg.vbsupport.ru/external/2011/01/45.png



Footer

The template template houses your style and language drop-down's or some call them selectors and your footer links. In addition it also houses the code for the scripts related to each of those functions.
  • Shown in Red(1) are the parts of the footer template.
  • Shown in Royal Blue(2) are the footer links or as seen in template and css, footer_links.
  • Shown in Yellow(3) is the style selector, if you have multiple languages available for your vBulletin forum another drop down will also appear for you to choose the correct language, very similar to the style selector.
  • Shown in Green(4) is the footer time.
  • Shown in Purple(5) is the copyright.

https://vborg.vbsupport.ru/external/2011/01/46.png

Now that you have viewed a few of the templates and corresponding images and labels it should be easier to ask for assistance on the forums. If your ever unsure of the name for something, anything related to the styling of vBulletin refer to this guide and post new questions below, if they are indeed style related and we can offer some tips I'll add them to the guide ;).

*I do plan on expanding this into specific breakdowns for each forum template and how to customize each however in multiple threads as I feel one long post will become confusing over time.

Princeton 01-03-2011 04:46 PM

Great article Mike!

Brandon Sheley 01-03-2011 04:54 PM

nice writeup!

TheLastSuperman 01-03-2011 05:03 PM

Quote:

Originally Posted by Princeton (Post 2143424)
Great article Mike!

TY and due in part to your great tips before it was published ;).

Quote:

Originally Posted by Brandon Sheley (Post 2143430)
nice writeup!

We all try! Did you see DJ's new article here: https://vborg.vbsupport.ru/showthread.php?t=256394

We're making waves come on in for a swim :D.

KevinL 01-06-2011 12:54 AM

This is a very very informative article! I am sure it will help a lot of people out!

TheLastSuperman 01-06-2011 04:26 AM

Quote:

Originally Posted by KevinL (Post 2144680)
This is a very very informative article! I am sure it will help a lot of people out!

Hey KevinL, I know you ;)

I hope it is, remember you can suggest some info and I'll add it in plus very soon I'll have links to articles that will go in-depth for each template :D.

fluidswork 01-06-2011 08:17 AM

Great article this will help everyone ..............

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

can anyone tell me how to change the background of the forum .... ??

TheLastSuperman 01-06-2011 11:23 PM

Quote:

Originally Posted by fluidswork (Post 2144807)
Great article this will help everyone ..............

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

can anyone tell me how to change the background of the forum .... ??

AdminCP > Styles & Templates > Style Manager > *Select "StyleVars" from the drop-down to the right of your style.

Now look for Common and under that category header you'll see a list of commons stylevars many parts of your site use, scroll down that list and look for "doc_background" and click it, now change the background color OR add in an image as well!

OR

You can also overwrite this entirely by pasting your own body css definitions in the additional.css template if you wish, example:

Code:

body {
        background-image: url(images/myimage.png);
        background-repeat: repeat-y;
        background-position: top;
}

So in essence you have two ways, the way vBulletin "expects" you to change/update it using stylevars OR by being sneaky with CSS ;) and fyi that was simply example css there are a few different ways you can make it achieve what you want in terms of css :D.

fluidswork 01-08-2011 06:19 AM

Thanks for help ................

Gn_Snake 01-10-2011 10:46 AM

Very Nice Article :up:
Thanks TheLastSuperman

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.

bitbender 02-27-2011 02:52 PM

"Beverage of Choice"... Umm, I meant any kind of bev :) I too do not drink, unless it is somehting special, or anesthesia is needed (like an overextended visit of in-laws).

From all the years I have written code, good documentaation is good documentation. Doesn't mtter if it's a good set of comments in the code, or producted ia word doc, or PDF.

I do not accept the notion that doc is different because of what computing platform it represents. I have this "dialouge" all the time with mainframers, midrangers and Nix folks all the time. They too think it's differrent with the genre, but it really isn't. It can be done, just requires the time and effort, and in our leveraged societies, time to endeavors like that is not allowed by upper managment who have a "let them learn on their own dime" mentality. I know that my upper exec' at the large outsourcer I work at has this idea. leads to train wrecks in the technical ranks.

As the pioneers of open source, we can do much better.

doc fluty 03-02-2011 12:55 AM

So helpful.

I am going to bookmark this and come back often

thank you

TheLastSuperman 03-02-2011 07:29 AM

Quote:

Originally Posted by doc fluty (Post 2168508)
So helpful.

I am going to bookmark this and come back often

thank you

Well each time post a question, after a few build up here in the thread I'll edit the article accordingly and add in more information :cool:.

Wordplay 03-22-2011 08:42 AM

this has been very helpful, the only thing that could make this better would be if you added the stylevars used in each picture/part.

Divokymuz 03-23-2011 10:54 PM

I just want to say thank you for this great article. You made my day TheLastSuperman

fxwoody 04-05-2011 11:04 AM

Hello again chief! I sent you a small PM for some advise.
Hope you don't mind ?!? ;)

Cheers

AttalaEA 07-21-2011 04:52 AM

Very Informative. Thank You :)

TheTrust 07-24-2011 06:28 PM

really great work ........ thank you

Sage Knight 07-27-2011 09:49 AM

I have seen you around and I must say you're truly the Superman of vB. This article will go a long way in helping me understand vB's theme & template system.

I have a question, how can I remove the header content (use the background as a replacement) as if the header content was crystal clear and you can whatever image you have in the background.

I hope I made some sense.

TheLastSuperman 07-29-2011 04:26 PM

Quote:

Originally Posted by Sage Knight (Post 2225485)
I have seen you around and I must say you're truly the Superman of vB. This article will go a long way in helping me understand vB's theme & template system.

I have a question, how can I remove the header content (use the background as a replacement) as if the header content was crystal clear and you can whatever image you have in the background.

I hope I made some sense.

Actually that's not as hard as some think and I've done it in a few styles, then using the background image made the style using it... for example here's a style where I did something similar - http://www.8bitfix.com/content/ now see how I've relocated the toplinks(login/welcome username) to the navbar and adjusted?

From another thread I helped in:

Quote:

Create a new plugin:

AdminCP > Plugins & Products > Add new plugin

Product = vBulletin
Hook Location = process_templates_complete
Title = Login relocated to Navbar
Execution order = 5
Plugin PHP Code:
PHP Code:

vB_Template::preRegister('navbar', array('notification_menubits' => $notification_menubits)); 

Plugin is active = Yes

Now view your site, it should be there however this was a "Basic How 2 Guide" now you'll notice right off the bat it's to the right a bit too much and depending on your screen resolution and/or max width on your site it could flow under the search so you must adjust CSS and more to make it look right for your site and Lynne supplied one of you plus it's posted above some tricks to adjust the toplinks css ;).

https://vborg.vbsupport.ru/external/2011/07/5.png
Now you can take all the code within the <div id="toplinks"> <div> and paste into the navbar then move around accordingly, review your header template and it should be something very short now i.e.

Code:

<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
        <vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:raw vboptions.bbtitle}" /></a></div><vb:else /><div>&nbsp;</div></vb:if>

        <div class="ad_global_header">
                {vb:raw ad_location.global_header1}
                {vb:raw ad_location.global_header2}
        </div>
        <hr />
</div>

^ So as you can see once done your header template will be very "short" ;). You've now relocated the toplinks to the navbar and either need to adjust them OR you can still do other little things and achieve the same effect namely tellinlg the toplinks css to be so far from the top i.e. change top:0; to top:200px; or something along those lines and not to mention you can use the plugin and leave the login in the header using a conditional then showcase the userinfo when they are logged in somewhere else as well but both must use the appropriate conditionals.

Now for the background use the stylevars and tell it what images to use or simply overwrite it using additional.css *(You still may want to set some of the header stylevars to transparent so basically if it has in #41f3b7 as the color backspace that and type in transparent (only the word no # or anything else) and save over that stylevar.

Paste into additional.css and adjust to suit:

Code:

body {
        background-color: #ffffff;
        background-image: url(images/myimagename.png);
        background-repeat: no-repeat;
        background-position: top;
}

The true body css info is in vbulletin.css however upon upgrading you would overwrite it so best bet is to add your own definition to additional.css.

Original body css from vbulletin.css:

Code:

/* BASIC PAGE ELEMENTS */

body {
        width:{vb:stylevar doc_width};
        min-width:{vb:stylevar doc_minWidth};
        max-width:{vb:stylevar doc_maxWidth};
        margin: {vb:stylevar doc_margin};
        font-size:{vb:stylevar font.fontSize}px;
        color:{vb:stylevar body_color};
        line-height:{vb:stylevar line_height};
}

And there you have it in so many ways and words (lol) so make a *child style of your main style and then test this so your not disturbing your members with style glitches as you tinker along ;).

Sage Knight 07-30-2011 07:29 AM

Thank you so much, your post has saved hours and hours of my time as I'm certainly not the brightest when it comes to customizations =D

Three cheers for TheLastSuperman!

appsfinder 10-10-2011 01:53 PM

Hi How do i change padding left 68 default template forum home can't seem to find it?

.forumbit_post .foruminfo .forumdata .datacontainer {
float: left;
padding-left: 68px;
width: 88%;
}

TheLastSuperman 10-13-2011 06:10 PM

Quote:

Originally Posted by appsfinder (Post 2255577)
Hi How do i change padding left 68 default template forum home can't seem to find it?

.forumbit_post .foruminfo .forumdata .datacontainer {
float: left;
padding-left: 68px;
width: 88%;
}

Hmm what exactly are you looking to do? That definition is the container, I believe you want to modify a element within it or around etc can you provide a screenshot?

appsfinder 10-14-2011 08:33 AM

Quote:

Originally Posted by TheLastSuperman (Post 2256877)
Hmm what exactly are you looking to do? That definition is the container, I believe you want to modify a element within it or around etc can you provide a screenshot?

hi i need to change padding-left: 68px width to 10

TheLastSuperman 10-15-2011 03:29 AM

Quote:

Originally Posted by appsfinder (Post 2257087)
hi i need to change padding-left: 68px width to 10

Screenshot otherwise I'm assuming you've removed the statusicons and want to move the area to the left so there's not a large space before the actual title/description?

appsfinder 10-15-2011 05:41 AM

1 Attachment(s)
yes thats what ive done removed the statusicons forum home page and want to move the area to the left so there's not a large space before the actual title/description?

HMBeaty 10-15-2011 05:52 AM

Quote:

Originally Posted by appsfinder (Post 2257388)
sorry no screenshot software

You don't have Paint? GIMP? Photoshop?

Ahmet Turan 10-15-2011 11:54 AM

thaks very good

TheLastSuperman 10-15-2011 06:44 PM

Quote:

Originally Posted by appsfinder (Post 2257388)
yes thats what ive done removed the statusicons forum home page and want to move the area to the left so there's not a large space before the actual title/description?

In forumbits.css find:

Code:

.forumbit_post .foruminfo .forumdata .datacontainer {
        float: {vb:stylevar left};
        width: 88%;
        padding-{vb:stylevar left}: {vb:math {vb:stylevar forumicon_size} + {vb:math {vb:stylevar padding}*2}};
}

Replace with:

Code:

.forumbit_post .foruminfo .forumdata .datacontainer {
        float: {vb:stylevar left};
        width: 88%;
        padding-{vb:stylevar left}: {vb:math {vb:stylevar padding}*2};
}


appsfinder 10-15-2011 09:07 PM

thanks for the help


All times are GMT. The time now is 03:45 PM.

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.02098 seconds
  • Memory Usage 1,950KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (28)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
  • (40)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