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

ad_sidebar_bottom - Content wrapped in the sidebar box?

Neal

Well-known member
#1
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?
 

Neal

Well-known member
#2
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>
 

Brogan

XenForo moderator
Staff member
#3
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">