![]() |
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.
|
Code:
<!-- Full width Logo Code Start --> - Global whats the doc_minWidth? made this 1900px whats the doc_maxwidth? made this 1900px but my logo starts in the center and not on the left side, what do i need to change? Look: holden5lclub.com |
Quote:
|
Hi when i change my style variable > Global>doc_width, my logo goes the full width, but so does my forum and i want the forum to stay boxed version, what else can i do to just get the logo full width.
Thanks Paul. Forward |
I responded to your PM, but will put the info here as well
1. Set doc_width to 100% 2. In vbulletin.css find .body_wrapper and add/change width to 85% and margin to auto Code:
.body_wrapper { This will make the header 100% width, but your forums narrower |
Works for me also ! w/ 100% width.
|
4.2.5. love?
|
All times are GMT. The time now is 01:47 AM. |
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:
|