nexialys
05-12-2009, 10:00 PM
You see my markup?
99098
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.
99099
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:.ug_admin {
font-family: "Lucida Grande", sans-serif;
font-weight: bold;
color: #800080;
background-image: url(style/umbrella.png);
background-repeat: no-repeat;
padding-left: 13px;
}
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 (http://www.w3schools.com/Css/)
have some fun designing your usergroups!
99098
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.
99099
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:.ug_admin {
font-family: "Lucida Grande", sans-serif;
font-weight: bold;
color: #800080;
background-image: url(style/umbrella.png);
background-repeat: no-repeat;
padding-left: 13px;
}
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 (http://www.w3schools.com/Css/)
have some fun designing your usergroups!