![]() |
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. |
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;} |
<a href="http://www" target="_blank">www</a>
|
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"> HTML Code:
<div class="yui-u yui-panel"> |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|