Register Members List Search Today's Posts Mark Forums Read

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

Hello,

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).
Greatfull
Maria
Reply With Quote
  #2  
Old 07 Jul 2011, 10: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;">
<li>
<div class="block smaller">
<div class="blocksubhead">
<div class="widget_content blockbody floatcontainer">
</div>
<div class="underblock"></div>
</li>
<li>
</ul>
Not only for the sidebar but in general.

Jeff
Reply With Quote
  #3  
Old 07 Jul 2011, 11:12
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Oct 2006
Real name: Maria
Originally Posted by Jeff Ledger View Post
@Jeff
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?

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

Last edited by MaryTheG(r)eek; 07 Jul 2011 at 11:12. Reason: Typo (was instead way)
Reply With Quote
  #4  
Old 07 Jul 2011, 22: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 22:21. Reason: Fixed
Reply With Quote
Reply

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 13: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 21:20.

Layout Options | Width: Wide Color: