vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to make my prefixes look like this? (https://vborg.vbsupport.ru/showthread.php?t=234678)

Bram H 02-01-2010 06:11 AM

How to make my prefixes look like this?
 
How can i make my prefixes look like this
- little blocks with a fixed width
- background filled up

I don't use much prefixes on my board but in one forum I do and this seems like a nice way to organize it.

If it is done with html mark up, what should be the code?

Lynne 02-01-2010 02:01 PM

It's all just CSS. Get firebug for firefox and you can see the css needed right there. Copy it to your site.

Bram H 02-01-2010 05:27 PM

"if" i find it, where do i put that code?

Lynne 02-01-2010 06:40 PM

It's just CSS, so you could just add it to additional.css or to another css template called on that page.

Bram H 02-01-2010 08:52 PM

Lynne, its very helpful that you always reply so soon, but the vb.org and vb.com staff sometimes seems to forget that their user base are not always professional programmers :)

People like myself have a hard time trying to understand what is very logical for you wizards, and takes us hours or days what is a piece of cake for you :)

Anyways, thanks and I am gonna see how far i get :D

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

Thanks again Lynne! We succedeed: http://www.racedepartment.com/racing-club/

vijayninel 02-02-2010 05:18 AM

you will have to put something like this in the Title (Rich Text) field:

HTML Code:

<span style="background: none repeat scroll 0% 0% rgb(255, 105, 0);" class="prefix">Overclocking</span>
Then in your Admin CP go to style manager > style > all style options and in the additional CSS definitions box at the end put

HTML Code:

.prefix {
color:#ffffff;
font-size: 0.85em;
font-weight: normal;
padding: 3px 10px;
text-align: center;
}

Change the values as needed.

syrn 03-29-2010 08:33 AM

ur genies, very nice , Thanx a lot

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

Quote:

Originally Posted by vijayninel (Post 1972804)
you will have to put something like this in the Title (Rich Text) field:

HTML Code:

<span style="background: none repeat scroll 0% 0% rgb(255, 105, 0);" class="prefix">Overclocking</span>
Then in your Admin CP go to style manager > style > all style options and in the additional CSS definitions box at the end put

HTML Code:

.prefix {
color:#ffffff;
font-size: 0.85em;
font-weight: normal;
padding: 3px 10px;
text-align: center;
}

Change the values as needed.

ur genies, very nice , Thanx a lot


All times are GMT. The time now is 03:33 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.01122 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete