XF 1.5 Link custom image and title in Sidebar

Skylined

Well-known member
I've created a new sidebar block and I've included an image in it.
Now I would like to link the image and block's title, but I don't know how to do it.

Could somebody please help me?


Code:
<div class="section">
    <div class="secondaryContent">
        <h3>Title</h3>
        <img src="path/to/image/imagefile.jpg" />
    </div>
</div>
 
I've done it this way.


Code:
<div class="section">
    <div class="secondaryContent">
        <h3><a href="http://mysite.com/link.html">Title</a></h3>
        <a href="http://mysite.com/link.html"><img src="path/to/image/imagefile.jpg" /></a>
    </div>
</div>
 

Similar threads

Top Bottom