![]() |
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 |
One of my users is reporting that they only see a link on the browser they are using (chrome) but It works for me (Opera). Any ideas?
It shows up as a link for me on some pages as well for some reason. |
Thanks
|
<font color="DarkOrange">Thanks .....</font>
|
Works...thanks
|
Good one Logect! Cut my loading time from 10.76 seconds to 6.7 seconds!
Cudo my friend ;) |
one problem with this is that if you have a forum http://localhost/yoursuite/ and after doing the changes as mentioned here, clicking on log will direct you to localhost instead of correct location of install (localhost/yoursuite)
|
Wow.... great :) i change lil' bit to mine in order to avoid disorder of style template, like this one
Code:
#vbulletin_logo { |
nice code but my header is modefied with some code, i cant use this css, so sad
|
Just a suggestion....
Instead of this: Quote:
HTML Code:
<vb:if condition="$vb_suite_installed"> |
I used the above suggestion, but changed the code from the author to this
PHP Code:
|
Hi, I am a newbie at CSS code let alone the whole forum idea! I read a forum post on how good and easy vBulletin is so I purchased it and yes I do find it pretty self explaining though I am stuck and have been for 2 days now. I have vBulletin 4.2.0 suite and have succesfully installed it and wanted to add my own logo. Found this post and have completed the code change and it works fine my only question is how do I get it to center on my page? I can increase the px from the left but it does not load evenly on other devices or screen sizes. Many thanks for any help.
Leigh |
Quote:
I just installed this mod and the load times seem only slightly better. |
All times are GMT. The time now is 06:06 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:
|