![]() |
CMS: 3 Blocks side by side?
I just saw the 3 blocks layout here on http://www.mmo-champion.com/content/.
Recent Blue Posts - Recent Forum Posts - Medium Rectangle Banner Does anyone know how they created that? I tried moving 3 blocks in the CMS Layout Manager to show up in one line, but it doesn't work. It can just be set underneath each other. Is it some specific mod or hand coded? Thanks! |
Looks like they created a grid with a Secondary Header and the bottom is 1 column at 100%. Then flatten the grid. Then edit to put three divs, each 33%, into the Secondary Header.
Should end up with something like: HTML Code:
<div id="doc3"> |
Hi Lynne,
thanks a lot for the direction! Following the code you posted is just generating one column. I now created a 33/33/33 grid to use it as a model and I'm almost there, but I can't figure out why this grid is showing the 3 blocks in the sidebar instead of the main site column. Could you give me a hint? Grid was created as 1 Column with Header + 300px Sidebar. Layout Code:
<div id="doc3" class="yui-tvb-r4"> Code:
<div id="doc3" class="yui-tvb-r4"> |
You need to use yui-gb in the template, not yui-g.
http://developer.yahoo.com/yui/examp.../grids-gb.html |
1 Attachment(s)
Thanks for the reference, that helped a lot.
I'm actually done, it looks just like it should in the Grid and Layout Manager. The only problem left now is, when I put it live on the site, it doesn't look like in the Layout Manager. Every Widget is taking up the full width and shows up underneath each other, instead of being in one line. I used "Latest Articles", "Latests Posts" and a custom one. I attached the grid, maybe you got an idea? Code:
<div id="doc3"> |
Can we get a link?
I used the grid I posted in post 2 and it worked fine. I tried yours, and the only problem I have is with your sidebar which is showing under the article on my section. |
1 Attachment(s)
You're right, the Sidebar doesn't work yet. I attached an image on how my current Layout looks like. So I got the 3 Widgets on the top.
However, on the site they are underneath each other. This is the main site, I just mirrored it and put a testsite here with the active layout: http://pre.mynintendo.de/content.php?r=1-news |
You have "yui-bg" instead of "yui-gb" That will break things. :)
|
Quote:
Thanks a lot for your help Lynne! |
All times are GMT. The time now is 09:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|