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)
-   -   Please Help: RE: Seperating cms from sidebar (https://vborg.vbsupport.ru/showthread.php?t=260186)

FatalCure 03-10-2011 06:37 PM

Please Help: RE: Seperating cms from sidebar
 
Hey guys, wondering if someone can give me a little help as I am not that great with html etc and vb4 makes this much more difficult with it's grid system etc.

Basically I want to give my news/cms/forum area a background color, but I don't want this to include the sidebar area. I've drawn an image in paint to help you guys understand.

Figure 1 is what I have atm.
Figure 2 is what I want.
Figure 3 is what I have managed to accomplish by giving the body_wrapper div a background color but I don't want it to extend all the way across to the sidebar if that makes sense.

http://img4.imageshack.us/img4/4950/vbulletin.png

I realise I will probably need to add a new div, basically encapsulating that area of the page but I am having trouble working out where to add this code. If someone could please show me what to edit I would very much appreciate it.

Lynne 03-10-2011 06:45 PM

Link? It really depends on the grid classes being used. This may work, but it depends on the classes being used in the grid:
HTML Code:

.yui-u.yui-panel {background: pink;}

FatalCure 03-10-2011 07:31 PM

<a href="http://www" target="_blank">www</a>

Lynne 03-10-2011 08:44 PM

Very odd. That CSS works just fine on my 4.1.2 test site and we have the exact same html.

Hmmm, mine works cuz I have a second list item there. Go to your grid, find this line:
HTML Code:

<div class="yui-u yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]</ul>

Change to:
HTML Code:

<div class="yui-u yui-panel">
<ul class="list_no_decoration widget_list" id="widgetlist_column1">$column[1]<li>&nbsp;</li></ul>


FatalCure 03-10-2011 09:07 PM

Cheers, that solved it.


All times are GMT. The time now is 01:22 PM.

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.01034 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_html_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