| Re: Blocks - I want to stack them without titles & header bars |
| by domineaux on 2007/1/25 16:38:34 Thanks this is just what I needed. Great responses. |
| Re: Blocks - I want to stack them without titles & header bars |
| by Peekay on 2007/1/25 12:23:19 To remove block headers, see if your theme.html (or linked block.html) has a CSS class for the header, e.g. le="color: #000000"><?php <!-- Start left blocks loop --> <{foreach item=block from=$xoops_lblocks}> <div class="blockTitle"><{$block.title}></div> <div class="blockContent"><{$block.content}></div> <{/foreach}> <!-- End left blocks loop --> Then set the CSS to remove the header, e.g. le="color: #000000"><?php .blockTitle { height: 0px; margin: 0; padding: 0; background: transparent } You could also use 'display: none'. Or, just remove the block title entry from the theme. |
| Re: Blocks - I want to stack them without titles & header bars |
| by davidl2 on 2007/1/25 12:22:27 Thanks for finding this ... my colleague and I use a similar trick in a site we're developing at the moment as well
|
| Re: Blocks - I want to stack them without titles & header bars |
| by WarDick on 2007/1/25 8:34:52 Check out this thread. To remove the block title. You can add the regex expression in any column you want to have control of the block titles. |
| Blocks - I want to stack them without titles & header bars |
| by domineaux on 2007/1/25 0:49:05 IS there a mod to allow creation of blocks that you can just stack in different block positions on site, which do not have headers, title bars etc. I just want to stack a bunch of odd stuff around on different pages very space efficent. I like the idea of using blocks that I can create code and modify when I need. This way I don't modify theme files. Also, I'd like to just modify a block or replace it as I need. ---------------------- |