![]() |
Help with fitting logo to other resolutions
So I made my logo to fit the resolution that I use (1366x768), it fits perfectly at that resolution but it get all messed up on any other screen resolution. The way I put my banner on my site was to just add a picture to the very top of the header template, so is there a code I can use before the picture to make it expand or get smaller depending on the resolution?
Here's a pic of it on 1440x900 https://vborg.vbsupport.ru/external/2012/09/62.png my url is http://anime-forum.net |
Try putting the two images/links into a <div> (crude example below)
Code:
<div> |
No I don't think it worked, thanks though, hmmm I don't know what I could do :/
|
I used this on my ads.
This script is for resolution under 1100 pixels <> (1024x768) and for a resolution above 1100 pixels <> (1280x1024) It eighter places a banner with a width of 350 or 430 pixels. HTML Code:
<script language="javascript" type="text/javascript" src="/templates/high_javascript.js"> |
Oh nice, so this will work for my banner? Will it work for resolution of 1440x900? and where exactly do I put it, sorry I'm not all that great with coding.
|
In the ACP, goto Styles and templates --> Style maneger
In the right screen select: Edit templates. In the Header template you see the folowing code: HTML Code:
<div class="above_body"> <!-- closing tag is in template navbar --> I have edited my template, so i don't know anymore what the original code is what follows under the code above here... But everithing between HTML Code:
<div class="above_body"> <!-- closing tag is in template navbar --> HTML Code:
<div id="toplinks" class="toplinks"> To be sure, you can copy and past the whole template to a textfile so if it doesn't work you can put the file back. --------------- Added [DATE]1346626923[/DATE] at [TIME]1346626923[/TIME] --------------- I just found out that it doesn't work... Tried it in my testforum, and it doesn't show my banner. Working on it.... --------------- Added [DATE]1346627529[/DATE] at [TIME]1346627529[/TIME] --------------- it works... I forgot 2 closing tags lol. This is what you have to do... Find in the Header template: HTML Code:
<div class="above_body"> <!-- closing tag is in template navbar --> HTML Code:
<div id="toplinks" class="toplinks"> HTML Code:
<script language="javascript" type="text/javascript" src="/templates/high_javascript.js"> Replace google.com for your own URL Replace the name of the banner Replace the imagepath like this: /images/logo/ Resize the width of your logo (1440 and a lower resolution) where i have 350 and 430 |
All times are GMT. The time now is 10:55 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:
|