![]() |
I have my code like this in vb4.2.0
<vb:if condition="$stylevar['titleimage']"><a name="top" href="{vb:link forumhome}" id="logo"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></vb:if> so how do i add this to it? PHP Code:
|
Quote:
backup your template to wordpad etc. you dont add the code, you replace it. replace PHP Code:
with PHP Code:
do you intend to use another image, the one you currently have is gonna look kinda stretched at 1240px :) |
Yes thank you Aurfscan as you will see i have changed the image it is now 1785 x 175 and redone all the pics in PS, if you look at the logo through the PC it looks great, but if you look at the logo on a laptop the forum is within the screen but the logo stretches way beyond the screen size look: http://topholdens.com/forum.php
is there anyway i can fix this? |
1 Attachment(s)
the image has to be the same width as your forum width
- forum has to be fixed width your image is 1800x200px ?? |
Quote:
|
if you go to (in admin panel)
- Style Manager - Style Variable Editor - Global whats the doc_minWidth? whats the doc_maxwidth? |
tremendous contribution thanks man
|
I installed this code and used width and height variables at 100% and it works great. I do not use header ads in the first place, but I tested one and I get the ads, just not over top of the titleimage, they appear below the titleimage itself. No big deal really for me as I do not use them. But I also cannot speak for how things look on much larger or smaller resolution monitors, but for my desktop and laptop the image looks good in both FF, IE and Chrome so I am happy with it.
Thanks for the great mod coding! use the link in my signature to see it... |
Looks great to me ckelly.. at 1.5 meg might be a little big in size, can you photochop its quality
or make it a jpeg cheers |
Awesome. Does anyone know how I can rotate five banners/logos at every refresh of a page? I'd like to create a folder with my logos on my server and have those rotate on my forums.
|
All times are GMT. The time now is 07:41 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:
|