MyBB Community Forums

Full Version: mainpic URL?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On my forum at www.BarzRusTV.co.uk/forum there are 2 types of image; the 'header' which is a tiny image that linked to the index, I removed it and place the avatar and info there. Then there's the 'mainpic'. Is there a way I can make the 'mainpic' (being the large image) link to the board index?

I have this in my template but nothing happens:
Quote:<div id="container">

<a href="http://www.BarzRusTV.co.uk/forum"><div id="mainpic"></a>
<div id="ttop">
(2012-12-17, 01:51 AM)LU Flux Wrote: [ -> ]On my forum at www.BarzRusTV.co.uk/forum there are 2 types of image; the 'header' which is a tiny image that linked to the index, I removed it and place the avatar and info there. Then there's the 'mainpic'. Is there a way I can make the 'mainpic' (being the large image) link to the board index?

I have this in my template but nothing happens:
Quote:<div id="container">

<a href="http://www.BarzRusTV.co.uk/forum"><div id="mainpic"></a>
<div id="ttop">

You could try something like this:

<div id="container">
    <div id="mainpic">
         <div id="ttop">
              <div id="panel">
                   -- code of the panel div --
              </div>
          </div>
          <a href="index.php">
                <div style="width:100%; height:100%;"></div>
          </a>
     </div>
What do you mean by "-- code of the panel div --"?
Just all the stuff you have currently in it, didn't want to write that all up.