The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Okay...I uploaded the image to "images/misc" and then in the "additional.css" template, added:
HTML Code:
.username_container .username::before, .member_username::before, .member_blockrow .floatleft .username::before, .postbithead .username::before { content: url("images/misc/username_hat.png"); position: relative; top: -3px; left: 18px; margin-left: -18px; } |
Благодарность от: | ||
Stratis |
#12
|
|||
|
|||
Thank you friend, it was really cool !!!
I'll have to get a picture in which the hat do a little curca because the way it is for those who have the name started capitalized overrides the hat the letter of the first name. Thank you!!! |
#13
|
||||
|
||||
Quote:
If you need to move the image up though, adjust the "top" attribute of the CSS selector I posted. For example, to move it 2px further up, change the value from "-3px" to "-5px"...if you want to post a link to your site (to a page where a name is being obscured), then I can determine the value you need by editing the page HTML with Firebug. |
#14
|
||||
|
||||
Here a test by me, with an other image that has angle to the left side.
Attachment 153844 I added code according to Marks code: HTML Code:
/***** Santa's hat *****/ .username_container .username::before, .member_username::before, .member_blockrow .floatleft .username::before, .postbithead .username::before { content: url("images/misc/username_hat3.png"); position: relative; top: -3px; left: 12px; margin-left: -12px; } |
Благодарность от: | ||
MarkFL |
#15
|
|||
|
|||
Any idea how to get this to work with VB5? Should I start a new thread under VB5 programming? If so, could someone help out?
|
#16
|
||||
|
||||
Quote:
I would be able to get to this tonight. |
#17
|
|||
|
|||
Thanks Mark!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|