2 personman Nov 24, 2005 05:50

Thanks for your reply. I'm still unsure what to do. More questions. Do I edit the file on the server and upload the image in the skin folder (I use the custom skin) or do I do this in the administration area of b2? And the larger question is: where do I add the code. Again, it's probably quite simple, and I'm missing something obvious, but I've gone through the code over and over, and I just can't figure it out. Thanks for any help you can give me.
Kurt
Where you add the code depends on where you want the image to show up. If you want it in the blue header at the top of the page, then find this code in /skins/custom/_main.php:
<div class="pageHeader">
<h1 id="pageTitle"><?php $Blog->disp( 'name', 'htmlbody' ) ?></h1>
<div class="pageSubTitle"><?php $Blog->disp( 'tagline', 'htmlbody' ) ?></div>
</div>
Insert the code for your image like this:
<div class="pageHeader">
<img src="img/mylogo.jpg" alt="My logo" style="float:left" />
<h1 id="pageTitle"><?php $Blog->disp( 'name', 'htmlbody' ) ?></h1>
<div class="pageSubTitle"><?php $Blog->disp( 'tagline', 'htmlbody' ) ?></div>
</div>
Upload your image to the /skins/custom/img folder.
Thanks for your help. I added my logo, and I ended up learning more about changing skins on b2. :D
Thank you for this post.
It helped me too. :)
Hi, I'm newbie and i don't know how to add logo, im very thankful that i found the answer here. I've been looking for a long time, seeking each forum to find a topic for adding a logo. Thanks a lot guys keep up the good work, and for having a nice forum.
its seems that this can not implied to every skin, I use addyourcontent2, I have tried as what you said, that failed.
Thanks a lot for info.
How about removing the "powered by b2evolution" logo in the side bar in 3.x?
These are really great sharing! It’s really helps me lot. Thank you for the post :D
You'll need to edit the skin. You can find it in /skins/whatever-skin-you're-using/_main.php
A great deal of that file just looks like html. You can put your logo in that way and then adjust as needed.