|
[How To?] Add another image below Logo
|
|
03-29-2011, 08:42 PM
Post: #1
|
|||
|
|||
Add another image below Logo
Hi,
I have the following code for header and the logo points to my main website. What I need is to add another small image just below that and link it to forum. However, I am unable to identify how to do it as I am not much better in php. Please help. Code: <table width="100%">Link to my forum: http://www.robotplatform.com/forum The forum image should come right below the page logo. Please help. Thanks, Praveen |
|||
|
03-29-2011, 08:56 PM
Post: #2
|
|||
|
|||
RE: Add another image below Logo
Find:
Code: <div class="logo"><a href="{$mybb->settings['homeurl']}"><img src="{$theme['logo']}" Add below: Code: <br /><div><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>You need to change the {$theme['logo']} variable if you want to use another image other than your board's logo, and you can then apply a class to the div and style it if needed. |
|||
|
03-30-2011, 08:19 AM
(This post was last modified: 03-30-2011 08:35 AM by praveen_khm.)
Post: #3
|
|||
|
|||
RE: Add another image below Logo
Thanks for the response. However, the issue is with adding a logo image. For logo, we have theme logo. But where do i create a class / whatever style for this perticular image? This is required bcoz I need to call that perticular image in header. Can u kindly let me know how & where do I store the image to be called plz?
Cheers, Praveen Edit: If i am still not clear in explaining, all I need is to use the code something like : <img="[$theme[`forumlogo`]]">. But not sure where will I store this forumlogo and call it. I mean which tamplate/theme should I edit. |
|||
|
03-30-2011, 01:05 PM
Post: #4
|
|||
|
|||
RE: Add another image below Logo
You want to use a different image for the second logo? Simply upload another image to your forum and instead of:
Code: <img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" />Use: Code: <img src="http://example.com/logo_2.gif" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" />Where http://example.com/logo_2.gif is the location of your second image. |
|||
|
03-30-2011, 06:04 PM
Post: #5
|
|||
|
|||
RE: Add another image below Logo
(03-30-2011 01:05 PM)faviouz Wrote: You want to use a different image for the second logo? Simply upload another image to your forum and instead of: Thanks a lot.. will give a try;.. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help


Add another image below Logo 