Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Nexia's HowTo: add style to usergroups html markups
nexialys
Guest
Posts: n/a

by nexialys 13 May 2009

You see my markup?



How did i attach an umbrella beside my name, is a mystery for many of you who are interested to make their membernames unique.

But it's quite simple when you play a little with CSS elements.

First, instead of placing all the code in your Usergroup HTML Markup, you make it easier to edit and lighter for the browser by making your markups small and quick. Write is the same way as i did, creating a new class for the style.


Remember that this detail is found when you edit your usergroups... this example is the admins one.

Then you go to your Style Manager, and edit the Main CSS of your prefered style... you go to the bottom of the page, in the "Additional CSS Definitions" and put the new class style in the SECOND field (the first one is overwritten by most of the products you can play with).

the example of my own class looks like this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

example explained:
1- i changed the family of the font to have a more ergonomical one, Lucida is great
2- made the font in bold
3- changed the color for magenta
4- to make the umbrella show everywhere, i make it the background-image, no repeat
5- i add some padding to the left so the background image is without text over it
See, it's easy. but to learn about the CSS elements is more complicated than that, and you can have a need for a tutorial... here is a great link: CSS Tutorial

have some fun designing your usergroups!
Views: 2167
Reply With Quote
Comments
  #2  
Old 21 May 2009, 13:29
HyperActiv HyperActiv is offline
 
Join Date: Mar 2009
Location: Israel
Real name: Or Gozlan
GREAT ONE!
thanks!
Reply With Quote
  #3  
Old 21 May 2009, 14:18
plazzman plazzman is offline
 
Join Date: Nov 2008
This is pretty awesome. And on that note, would it be possible to have a username of a banned member have a strikethrough?
Reply With Quote
  #4  
Old 21 May 2009, 16:55
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by plazzman View Post
This is pretty awesome. And on that note, would it be possible to have a username of a banned member have a strikethrough?
Doing that is default vbulletin and has nothing to do with this article. Just use the HTML markup in the Banned Usergroup. Hit the ? mark next to this feature in the admin cp if you need help. The css to use to strikethrough is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
[HowTo] [3.0.3] Match the navbar to default style Floris vBulletin 3.0 Template Modifications 1 07 Oct 2004 10:33



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:48.

Layout Options | Width: Wide Color: