![]() |
Full width Forum logo
1 Attachment(s)
For fixed width styles Note: Only use this If not using header adverts Find in 'header' template. It's at the start of the template Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> Replace it with Code:
<!-- Full width Logo Code Start --> black bold link to your forum red bold location of your logo blue bold set the width and height of your image to match your Image size (the width of the Image being the same as your forum width) - so If your Forum width is 1000px wide, make your logo 1000px wide green bold your forums name If you use it mark Installed thx :) |
tagged and thanks
|
this post edited as info here has been corrected and no longer needed :)
|
Got a "before" screen shot?
|
1 Attachment(s)
Got a "before" screen shot?
hmmm ok :confused: |
Your code creates many many xhtml issues!!!
Please use valid xhtml :) |
thx for letting me know, can you please post the correct code :)
|
Hi,
HTML Code:
<!-- Full width Logo Code Start --> |
:)
Code:
edit: posted the same at the same time.. lol |
ok :) yours is good too... cheers
|
Initial post code corrected to xhtml standards ... thx Kolbi :)
|
Hi. Does this set the logo as the background? I mean if this edit is done, then I add an ad in that frame will it still mess or not?
|
Sorry Greight, I cant get this to work with header ads. I tried modifying vbulletin css and adding the global headers to this code but I cant get it it to work with ads.
If someone can get this to work with header ads, please feel free to post the code. |
Hi,
hm, maybe this could also be done with a CSS-background image? Ciao, Sacha |
Quote:
|
1 Attachment(s)
UPDATE
header ads working, will post simple :p Instructions shortly thx to anyone commenting and Interested in this :cool: |
top stuff m8
|
i believe using a percentage would work for fluid settings, no? instead of using pixels if one has their settings set to say 85% then where the width goes you should be able to put 85%...
|
I am on v 4.0.5 and I just ran a search in the upload directory and could not find a file names logo.php.
Any suggestions. This is all new to me. Day 4 and counting :) Steve |
I can see it on my forums but none of my other members can. I can the new one set checked in the style mananger and the default one unchecked but everyone still sees V=Bulletin. When they go to the drop box at the bottom left of the screen my custom styles name is there. Any help?
|
omg sir! I'm using cyborg style ( http://www.vbdesigns.de/demo/?styleid=47 ) and mine diffirent please help :D
my header: Code:
<a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"></a> |
Hi compact, all I can do is suggest replacing
Code:
to Code:
|
1 Attachment(s)
just done the edits ... and i got this (check the pic) what's wrong? also i need to know why the background was gray and not the default dark color ... :)
thanks |
^ I've noticed that happening to my site when IE compatibility mode is turned on. Works fine in every other browser.
Edit: actually yours is different. Looks like you forgot to remove vb code which displays the logo. You've added your image code above the current logo so both are being displayed. |
Quote:
My next problem was when I put in the length of 1000px members were saying that it was only showing about 60% of the screen. To resolve this issue I did the above mentioned liquid %. I put the 100% in the code instead of 1000 and it works perfectly. XboxHounds |
|
Quote:
Also, you should use the vb code where possible. You also need to keep the anchor name, otherwise the "To the Top" Links won't work. something like this: Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="images/logo.jpg" width="1000" height="120" alt="your forum name Forum" /></a></div> |
thx Dragonsys :)
|
Quote:
http://74.55.234.226/~xboxhoun/content.php I tried many different valuespxs but to no avail. I tried his suggestion above and it worked. Maybe its not correct but it is working for me. I am a noob though. |
Hi top dogs 360, One thing you have to keep in mind is not everyone will have the same monitor resolution as you. What looks good to you might not look so good to say someone with a resolution twice the size as what you have.
Your original image by itself is nice but at the top of your forum on my 1920px res monitor its really stretched. A fluid full width Image can be done but its tricky and time consuming. Hey.... as long as your happy, go with it. :) |
1 Attachment(s)
Quote:
Attachment 120582 how do i fix if i can resize have normal view?:erm: sorry i have fix my problem.... i have change this PHP Code:
|
Nice - thanks!
|
Can't you just use a logo via stylevars and make it the exact width. Same outcome for fixed width. Does not work with header adverts either.
|
This is exactly what I needed. I set both width & height to 100% and it works really well.
Cheers. :D |
Quote:
|
Can you write the code in a PHP block..I can't seem to copy and past the code in the code box.
|
Worked Great! Thank you!
{Check it out at: executionpk.com} Thanks mate! *Link is valid proof it works* |
This no more working with 4.1.11 :/
|
subscribing...
|
Quote:
@ALL: Thank you everyone commenting in this mod |
All times are GMT. The time now is 07:09 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:
|