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

Sidebar Quickie

Discussion in 'XenForo Questions and Support' started by Travis, Dec 17, 2010.

  1. Travis

    Travis Active Member

    Quick Question. I am creating a social media block for the sidebar. I have already added Twitter to it,and you can see it at http://www.ncisaddict.com/forum/. What I want to know is how do I get the header to look like the other blocks?

    Screenshots Attached.
     

    Attached Files:

    • ss1.png
      ss1.png
      File size:
      24.4 KB
      Views:
      13
    • ss2.png
      ss2.png
      File size:
      9.6 KB
      Views:
      11
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Try using this:
    Code:
    <div class="section">
        <div class="secondaryContent"><h3>Title</h3></div>
    </div>
     
  3. Travis

    Travis Active Member

    Nope,No Changes. This is My "connect_with_us" Template:
    Code:
    <div class="section">
    <div class="secondaryContent"><h3>Connect With Us!</h3>
    <a href="http://www.twitter.com/NCISaddictWeb"><img src="http://twitter-badges.s3.amazonaws.com/follow_us-c.png" alt="Follow NCISaddictWeb on Twitter"/></a>
    </div>
     
  4. Trombones13

    Trombones13 Well-Known Member

    Is there a different code for your other sidebar blocks, then?
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I'm using that for my RSS block and it works fine.

    Ah, just realised you've got a link in there.
    You'll have to change the colour as the link will pick up the href css.

    Edit: And looking at your site, it's using .sidebarsection for the header.
    So try this instead:
    Code:
    <div class="sidebarsection">
        <h3>Title</h3>
    </div>
     
    Trombones13 and Travis like this.
  6. Travis

    Travis Active Member

    That works. Knew it would be something simple :p However,this is my first time venturing into code so...

    EDIT:Added screenshot of the fixed problem
     

    Attached Files:

    • ss3.png
      ss3.png
      File size:
      7.9 KB
      Views:
      4
  7. Brogan

    Brogan XenForo Moderator Staff Member

    No worries, I originally posted the default code, not realising you were using a custom style with new classes.
     

Share This Page