ad_sidebar_bottom - Content wrapped in the sidebar box?

Neal

Well-known member
I've got our Teamspeak server showing by adding the code to the ad_sidebar_bottom template using the TMS. I would like it to be wrapped so it fits in with the look of the rest of the sidebar. Could someone give me a pointer as to what to add before and after the Teamspeak code please?
 
I've done the following at the moment which seems to work. Is this logical? :oops:

<xen:require css="sidebar_share_page.css" />
<div class="section infoBlock sharePage">
<div class="secondaryContent">
<h3>Teamspeak</h3>

TEAMSPEAK CODE

</div>
</div>
 
Yes, that's fine.
You shouldn't even need the <xen:require css="sidebar_share_page.css" />

I also prefer to use a different class for each of my custom sidebar blocks, rather than reusing an existing one.

For example: <div class="sidebarBlock teamspeakServer">
 
Top Bottom