<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums — [ASK] Adding Image To Header PunBB 1.2.x]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/22391/" />
	<updated>2011-07-04T22:21:48Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/22391/ask-adding-image-to-header-punbb-12x/</id>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/140565/#p140565" />
			<content type="html"><![CDATA[<p>From the punres wiki (which has unfortunately been disabled):</p><p><strong>Add a logo to the header via css</strong> (From PunBB Resource Wiki)</p><p>This article explains how to add a logo to you header via CSS as shown in the image.</p><p>Make your logo with photoshop or any other suitable tool. Save it as </p><div class="codebox"><pre><code>img/yourstylename/logo.gif</code></pre></div><p>Add this to your style_cs.css: </p><div class="codebox"><pre><code>/* header logo */
.pun H1 
{
/* your logo and position */
background-image: url(../../img/yourstylename/logo.gif);
background-repeat: no-repeat;
background-position: left; /* you set your logo position here */
display: block;
height: 70px; /* logo height in here add width: size px if u need*/
}
 
/*header title*/
.pun H1 span
{
/* your font style */
color: #0066B9;
font-size: 20px; /* title size */
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
text-transform: none ; /* transform text: uppercase, capitalise */
text-decoration: underline; /* decoration: none, overline */
 
/* position for your text (board title) with the logo */
position: absolute; 
top: 40px; 
left: 90px; 
}</code></pre></div><p>Find: .pun H1 in stylename.css and remove the line.</p>]]></content>
			<author>
				<name><![CDATA[Koos]]></name>
				<uri>http://punbb.informer.com/forums/user/9972/</uri>
			</author>
			<updated>2011-07-04T22:21:48Z</updated>
			<id>http://punbb.informer.com/forums/post/140565/#p140565</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/140391/#p140391" />
			<content type="html"><![CDATA[<p>Is this still valid, I can&#039;t find that line in header.php</p><p>How do I put a loggo on my forum, please advice.</p>]]></content>
			<author>
				<name><![CDATA[crobbe]]></name>
				<uri>http://punbb.informer.com/forums/user/59455/</uri>
			</author>
			<updated>2011-06-15T17:35:35Z</updated>
			<id>http://punbb.informer.com/forums/post/140391/#p140391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/132062/#p132062" />
			<content type="html"><![CDATA[<p>To change the board title, edit the 154 line of header.php. It will look like:<br /></p><div class="codebox"><pre><code>$tpl_main = str_replace(&#039;&lt;pun_title&gt;&#039;, &#039;&lt;img src=&quot;http://img.informer.com/images/logo_si.png&quot;&gt;&#039;, $tpl_main);</code></pre></div><p>The board description can be changed in a similar manner.</p>]]></content>
			<author>
				<name><![CDATA[Slavok]]></name>
				<uri>http://punbb.informer.com/forums/user/13265/</uri>
			</author>
			<updated>2009-10-29T14:33:12Z</updated>
			<id>http://punbb.informer.com/forums/post/132062/#p132062</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/132059/#p132059" />
			<content type="html"><![CDATA[<p>in board title and board description. i want remove board title and description, so i can put the image...</p><p>this&#039;s the code of main.tpl</p><div class="codebox"><pre><code>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; dir=&quot;&lt;pun_content_direction&gt;&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=&lt;pun_char_encoding&gt;&quot; /&gt;
&lt;pun_head&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;punwrap&quot;&gt;
&lt;div id=&quot;pun&lt;pun_page&gt;&quot; class=&quot;pun&quot;&gt;

&lt;div id=&quot;brdheader&quot; class=&quot;block&quot;&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;div id=&quot;brdtitle&quot; class=&quot;inbox&quot;&gt;
            &lt;pun_title&gt;
            &lt;pun_desc&gt;
        &lt;/div&gt;
        &lt;pun_navlinks&gt;
        &lt;pun_status&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;pun_announcement&gt;

&lt;pun_main&gt;

&lt;pun_footer&gt;

&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre></div><p>so, where i should put the code for header image?</p><p>thanks... thanks a lot for answer my questions...&nbsp; <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[n4is3n]]></name>
				<uri>http://punbb.informer.com/forums/user/15575/</uri>
			</author>
			<updated>2009-10-29T10:24:01Z</updated>
			<id>http://punbb.informer.com/forums/post/132059/#p132059</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/132051/#p132051" />
			<content type="html"><![CDATA[<p>Where do you want to add it? At the board title, description, in the navigate menu?</p>]]></content>
			<author>
				<name><![CDATA[Slavok]]></name>
				<uri>http://punbb.informer.com/forums/user/13265/</uri>
			</author>
			<updated>2009-10-29T08:32:25Z</updated>
			<id>http://punbb.informer.com/forums/post/132051/#p132051</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/132033/#p132033" />
			<content type="html"><![CDATA[<p>I have to wait for weeks just to hear the answer from my simple question. PunBB quite difficult in use, far more difficult than other BB. so please improve your support or Punbb would be the loss of users...&nbsp; <img src="http://punbb.informer.com/forums/img/smilies/neutral.png" width="15" height="15" alt="neutral" /> </p><p>Free does not mean not care about the user. so why do you make of this support forum if you ignore the simple question from newbie who really wants to learn PunBB like me...&nbsp; <img src="http://punbb.informer.com/forums/img/smilies/neutral.png" width="15" height="15" alt="neutral" /> </p><p>Sorry for my complain... thx...</p><p>@Kierownik<br />Thx bro... u are the best...&nbsp; <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[n4is3n]]></name>
				<uri>http://punbb.informer.com/forums/user/15575/</uri>
			</author>
			<updated>2009-10-28T15:02:27Z</updated>
			<id>http://punbb.informer.com/forums/post/132033/#p132033</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/131957/#p131957" />
			<content type="html"><![CDATA[<p>Check &quot;include/template/main.tpl&quot;</p>]]></content>
			<author>
				<name><![CDATA[kierownik]]></name>
				<uri>http://punbb.informer.com/forums/user/6341/</uri>
			</author>
			<updated>2009-10-24T02:07:01Z</updated>
			<id>http://punbb.informer.com/forums/post/131957/#p131957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/131954/#p131954" />
			<content type="html"><![CDATA[<p>bad support... very bad support...&nbsp; <img src="http://punbb.informer.com/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[n4is3n]]></name>
				<uri>http://punbb.informer.com/forums/user/15575/</uri>
			</author>
			<updated>2009-10-23T17:59:11Z</updated>
			<id>http://punbb.informer.com/forums/post/131954/#p131954</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[ASK] Adding Image To Header PunBB 1.2.x]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/131776/#p131776" />
			<content type="html"><![CDATA[<p>How i can change the header?</p><p>Thx...</p>]]></content>
			<author>
				<name><![CDATA[n4is3n]]></name>
				<uri>http://punbb.informer.com/forums/user/15575/</uri>
			</author>
			<updated>2009-10-15T07:22:44Z</updated>
			<id>http://punbb.informer.com/forums/post/131776/#p131776</id>
		</entry>
</feed>
