Insert a href img in sidebar


I am using theme mainroad and on the sidebar I would like to display an ad.

Here is what I have in html

<a href=" target="_blank" rel="nofollow" onclick="ga('send', 'event', 'Banner', 'Click', 'Vendor');"><img src=""></a>

I tried to “convert it” to markdown but it is failing.

<div class="widget-vendor widget">
        <h4 class="widget__title">Vendor</h4>
        <div class="widget__content">
                   Link: [Vendor](
                    Image: ![Vendor](


How can create an ad with image pointing to external webpage?

I have a similar setup and all you got to do is put your code in between a div. It should work for you.

1 Like

Missing " :dizzy_face: