Previous Thread
Next Thread
Print Thread
Hop To
#247005 11/24/2011 4:28 PM
Joined: Nov 2011
Posts: 33
newbie
newbie
Joined: Nov 2011
Posts: 33
How do i load a logo on my forum i want it at the top right.



Cheers

Kelvin

Kelvin #247006 11/24/2011 4:30 PM
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Create a file inside the includes directory call header.php and add your code in there.

Kelvin #247007 11/24/2011 4:46 PM
Joined: Nov 2011
Posts: 33
newbie
newbie
Joined: Nov 2011
Posts: 33
its a graphic i want to load with the name of the forum on it not a code, sorry i didn't explain properly.

Last edited by Kelvin; 11/24/2011 4:47 PM.
Kelvin #247009 11/24/2011 6:39 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Control Panel > Display Options -> General || HTML includes

Use the Default Header box.

In here you can add any HTML code. smile

Upload your image to a specific directory.
e.g. http://www.example.com/images

Quick example...

HTML
<img src="http://www.example.com/images/mypicture.jpg" style="float:right;">

Kelvin #247017 11/25/2011 5:09 AM
Joined: Nov 2011
Posts: 33
newbie
newbie
Joined: Nov 2011
Posts: 33
Thank you, now i know what was meant by inserting code.



Cheers

driv #247021 11/25/2011 11:41 AM
Joined: Nov 2011
Posts: 33
newbie
newbie
Joined: Nov 2011
Posts: 33
I have uploaded the logo and put in the code as you told me but the logo is on the side of the forum and not at the top and i changed it to left and it is pushing the forum to the right.

if you go to my site you will see what i mean.

http://basildontowntalk.co.uk



Last edited by Kelvin; 11/25/2011 11:46 AM.
Kelvin #247022 11/25/2011 11:55 AM
Joined: Jan 2008
Posts: 514
addict
addict
Joined: Jan 2008
Posts: 514
That will work however, you will probably have to HTML code it to do as you want it to do... using tables etc. to achieve what you want to do.

For example

Code
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dawn of Iskirra</title>
<style type="text/css">
<!--
body,td,th {
	color: #FFFFFF;
}
body {
	background-color: #000000;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #CC0000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #CC0000;
}
a:hover {
	text-decoration: none;
	color: #FFFFFF;
}
a:active {
	text-decoration: none;
	color: #CC0000;
}
.style2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #999999;
}
.style4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: #666666;
}
-->
</style>
</head>
<body> 

<tr>
<td>
<table width="100%" class="t_inner" cellpadding="0" cellspacing="0">
</tr>
<tr>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="/smallwaterfall.jpgx"><div align="center"><img src="/iskirraclear.png" width="800" height="200"/></div></td>

  </tr>
</table>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">

    </div></td>
  </tr>
  <tr>
    <td valign="top" background="testpana.png"><div align="center" class="style2">
    </div></td>
  </tr>
</table>
</td></tr>
</div>
      </tbody>
    </table>
  </body>
</html>

Kelvin #247023 11/25/2011 12:05 PM
Joined: Nov 2011
Posts: 33
newbie
newbie
Joined: Nov 2011
Posts: 33
thanks for that Dunny, but i have not got any knouledge on HTML

Kelvin #247024 11/25/2011 2:29 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Ah ha - another Essex boy wink

Kelvin #247025 11/25/2011 2:46 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Try this...

HTML

<table width="100%">
<tr>
<td width="50%">&nbsp;</td>
<td align="right">
<img src="http://basildontowntalk.co.uk/images/logo.png" border="0">
</td>
</tr>
</table>


Going out for an hour now, but we can sort it properly later if you'd like smile

Last edited by driv; 11/25/2011 2:53 PM. Reason: pesky png files ;-)
Kelvin #247026 11/25/2011 3:45 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
By the way... the reason I put in this bit...

HTML
<td width="50%">&nbsp;</td>

was to allow you room to add a banner later on - you can remove it if you want smile

Kelvin #247027 11/25/2011 3:51 PM
Joined: Nov 2011
Posts: 33
newbie
newbie
Joined: Nov 2011
Posts: 33
Thank you driv, that worked all i had to alter was the align to right and the width to 20%, and i guest those two.


Thanks again for your help.

Born and bred in Essex

Last edited by Kelvin; 11/25/2011 4:31 PM.
Kelvin #247028 11/25/2011 3:54 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
I took a look at your site and it's on the left (not right).
In which case, the code should be...

HTML

<table width="100%">
 <tr>
  <td align="left">
   <img src="http://basildontowntalk.co.uk/images/logo.png" border="0">
  </td>
 </tr>
</table>



Kelvin #247072 11/29/2011 2:21 PM
Joined: Nov 2011
Posts: 1
O
stranger
stranger
O Offline
Joined: Nov 2011
Posts: 1
Thanks for guiding


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 738 guests, and 182 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)