Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 07 Jul 2011, 11:02
MaryTheG(r)eek MaryTheG(r)eek is offline
Join Date: Oct 2006
Real name: Maria
Sidebar (like) class


Which class do I need to use to show a sidebar block in in a custom vB page, but having in mind that:
  1. I don't want to show any content of the native vB sidebar (eg I want to include a custom search box).
  2. The class(-es) must be available even to those members who have just the vBulletin forum (without CMS).
Reply With Quote
Old 07 Jul 2011, 11:29
Jeff Ledger Jeff Ledger is offline
Join Date: Jun 2011
If you are running firefox, use firebug, it can easily tell you what class and which template has been used.

You will probadly get st like this, just a example there are some collapsed class.

ul id="sidebar" style="opacity: 1;">
<div class="block smaller">
<div class="blocksubhead">
<div class="widget_content blockbody floatcontainer">
<div class="underblock"></div>
Not only for the sidebar but in general.

Reply With Quote
Old 07 Jul 2011, 12:12
MaryTheG(r)eek MaryTheG(r)eek is offline
Join Date: Oct 2006
Real name: Maria
Originally Posted by Jeff Ledger View Post
Thank you for your reply but your code shows only the content (see the attachment). I also need the outline block and the block header.

By the way I seen that you're calling the class widget_content blockbody. Is this including in the standard css files?

Attached Images
File Type: jpg sb1.jpg (1.8 KB, 10 views)

Last edited by MaryTheG(r)eek; 07 Jul 2011 at 12:12. Reason: Typo (was instead way)
Reply With Quote
Old 07 Jul 2011, 23:15
vbresults vbresults is offline
Join Date: Apr 2009
You do not need the CMS to access the sidebar layout. Copy the sidebar.css stylesheet into and save it as a new template, change #sidebar and #sidebar_container to classes, change the descending css to match the id > class change, and embed the customized stylesheet in whatever page you plan to use this in (hopefully with a plugin). Check out the block_html template for the exact markup to use.

Last edited by vbresults; 07 Jul 2011 at 23:21. Reason: Fixed
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Home Enhancements Cel Forum Sidebar: enable sidebar for IE 6, disable collapsing cellarius vBulletin 4.x Add-ons 17 25 Jan 2016 14:57

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 13:53.

Layout Options | Width: Wide Color: