![]() |
Put Your Logo on CSS [vBulletin]
1 Attachment(s)
Info:
Put your vBulletin logo on CSS, this can optimize your pages load time. Live Demo Installation: 1- Add the code below in the additional.css template Code:
#vbulletin_logo { https://vborg.vbsupport.ru/attachmen...1&d=1301246071 2- Find and replace the code below in the header template: Code:
<a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a> Code:
<a href="{vb:link forumhome}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">YOUR WEBSITE NAME</a> use following code, if you are using the vbulletin suite version. Code:
<a href="{vb:raw vboptions.homeurl}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">YOUR WEBSITE NAME</a> |
Thanks, but when you click on the logo redirects to:
http://www.foroxxx.com/www.foroxxxx.com Greetings |
Quote:
Code:
<a href="{vb:link forumhome}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">YOUR WEBSITE NAME</a> Code:
href="{vb:raw vboptions.homeurl}{vb:raw session.sessionurl_q}" |
|
Quote:
Code:
<a href="{vb:link forumhome}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">YOUR WEBSITE NAME</a> |
Perfect, thank you very much.
greetings |
Thank you
|
1 Attachment(s)
Hello LOGECT .. :)
Good idea to help performance ... Installed for testing on 4.04 of vBulletin SUITE with thanks ... :up: Trying to get it going, but seem to be missing something and would appreciate any help ... I think I must have some measurements wrongs someplace and I'm not sure how to figure it out. I installed your change on our "Light" style and left the "Brown" style for comparison, which is what it should look like. Notice from pics that on the "Light" style, our top navbar flows down into our regular black smaller navbar? Logo measures at 498 wide by 120 high and according to element check... position:relative; left:0px; top:0px; ... but, seems to screw up cosmetically and move the navbar? Thanks ... Regards, Doug |
Quote:
the reason could be either your costume 'Header template' or incorrect values for 'width' and 'height' |
Quote:
Thanks for the feedback .. :) Regards, Doug |
All times are GMT. The time now is 10:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|