| Re: Seperate block style for Mainmenu |
| by Quest on 2006/3/16 15:02:36 I think you would probably have good luck using the MultiMenu Module. You would be able to create the Main Menu Block as you would like it. Hide the system Main Menu block and Display the Main Menu Block you create using MultiMenu. As you have it all you have it set in your themes all the blocks will display that way on the left. Quest |
| Seperate block style for Mainmenu |
| by hydrO on 2006/3/16 14:26:31 Hi I am trying to make a theme using CSS and am having difficulty rendering a seperate style for XOOPS Mainmenu item. I don't know how to explain this well, so I am gonna paste codes in here. In theme.htm file I have the following code for leftside blocks. le="color: #000000"><?php <div id="leftside"><{foreach item=block from=$xoops_lblocks}><div class="misc_box"><span class="menu_heading"><{$block.title}></span><{$block.content}></div><{/foreach}> </div> But the problem is that, when the output is displayed XOOPS Mainmenu is always inside another box ("misc_box". I don't want Mainmenu to be inside one of the boxes, I want it to have a style of its own. I will put the CSS styles for both these items. le="color: #000000"><?php .misc_box { width: 147px; margin: 10px; border-size: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; background-image: url(images/bg-misc-box.gif); background-repeat: repeat-x; padding: 3px 0px 1px 3px; border: 1px solid #0C8BB5; } //// this one is for mainmenu .mainmenu { margin: 4px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #003300; } Has anyone got an idea? I have tried searching through forum but couldn't find anything. Thanx! |