• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Insert a basic image to see what a skyscraper ad would look like

Neil E.

Active member
#1
Just trying to get a rough idea of how a skyscraper ad might look. I need the most basic method of inserting an image in the top sidebar location. Page_Container has the code to include the ad_sidebar_top template.

<div class="sidebar">
<xen:hook name="page_container_sidebar">
<xen:include template="ad_sidebar_top" />
<xen:if is="!{$noVisitorPanel}"><xen:include template="sidebar_visitor_panel" /></xen:if>
{xen:raw $sidebar}
<xen:include template="ad_sidebar_bottom" />
</xen:hook>
</div>
I used the TMS to add the following to ad_sidebar_top
I added the following to EXTRA
.testAd
{
position: relative;
overflow: hidden;
text-align: center;
width: 160px;
height: 600px;
}
I'm not getting the image to show. Suggestions on how to change this to obtain a basic image placement?
 

MsJacquiiC

Well-known member
#2
Just trying to get a rough idea of how a skyscraper ad might look. I need the most basic method of inserting an image in the top sidebar location. Page_Container has the code to include the ad_sidebar_top template.



I used the TMS to add the following to ad_sidebar_top


I added the following to EXTRA


I'm not getting the image to show. Suggestions on how to change this to obtain a basic image placement?
Your html code is incorrect. Try the following instead:
HTML:
<div class="testAd">
<a href="http://sitename.com"><img src="imageurl.jpg" /></a>
</div>