1. 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?

Discussion in 'Styling and Customization Questions' started by Neal, Mar 27, 2013.

  1. Neal

    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?
  2. Neal

    Neal Well-Known Member

    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">


  3. Brogan

    Brogan XenForo Moderator Staff Member

    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">
    EgyKit and Neal like this.

Share This Page