vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Remove sidebar (https://vborg.vbsupport.ru/showthread.php?t=320258)

Fizzgig 09-14-2015 06:26 PM

Remove sidebar
 
Hi... is there a way of removing the sidebar for smaller screens devices....thanks

billstelling 09-15-2015 11:10 AM

Turn it off.. /jk

You could install sidebar anywhere or the other so you can toggle to collapse by default. That or write a conditional for your themes that tell them not to display the sidebar under a certain width.

Fizzgig 09-15-2015 01:00 PM

Quote:

Originally Posted by billstelling (Post 2555107)
Turn it off.. /jk

That or write a conditional for your themes that tell them not to display the sidebar under a certain width.


that would be good.... how do you do it..:D

billstelling 09-15-2015 01:18 PM

If I have time later I will see If I can figure something out. There might be something already done for that as I think I remember a post about it a while back, I just can't remember..

napy8gen 09-15-2015 08:44 PM

Paste this in your style manager> style name> CSS templates> additional.css
Quote:

@media (max-width:768px){
#content_container { margin-right:0px;}
#sidebar_container{display:none}
}
Not tested but it should work.
p/s: If there is any element such as html divs or graphic or banner that has longer fixed width defined it may hold the page from responsive.


All times are GMT. The time now is 10:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01717 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete