Hello,
I'm using the Carbon Theme and was wondering if it is possible to have the default behavior of the sidebar to be shown instead of hidden?
I looked at the \themes\carbon\theme.css and see the gaSidebar information, but I am unsure a) if this is where I should be edited and b) what the correct code / command should be.
Does anyone know if this is possible (and what the line should look like)?
Many thanks!
Ed
Posts: 8339
themes/carbon/templates/sidebar.tpl
position:absolute; left:-190px;
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 6
Thanks for the quick reply S. I'll have to do a little more digging I think. The sidebar.tpl already had "position:absolute; left:-190px;" configured. I'm hoping to have the default behavior of the sidebar to be extended... I'm guessing this is going to involve "slideOut" somehow?
The full text is:
<div id="sidebar" class="gcPopupBackground"
style="position:absolute; left:-190px; top:{$theme.params.sidebarTop}px; padding:1px;">
<table cellspacing="0" cellpadding="0">
<tr>
<td align="left" style="padding-left:5px;">
<h2>{g->text text="Actions"}</h2>
</td>
<td align="right" style="padding-right:2px;">
<div class="buttonHideSidebar"><a href="javascript: slideOut('sidebar')"
title="{g->text text="Close"}"></a></div>
</td>
</tr>
<tr>
<td colspan="2" class="gcBackground2" style="padding-bottom:5px">
<div id="gsSidebar" class="gcBorder1">
{* Show the sidebar blocks chosen for this theme *}
{foreach from=$theme.params.sidebarBlocks item=block}
{g->block type=$block.0 params=$block.1 class="gbBlock"}
{/foreach}
</div>
</td>
</tr>
</table>
</div>
Posts: 8339
My point was that it is already negative 190 - offscreen.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 6
Thanks again -s. i didn't grasp the point i suppose. i've tried modifing the value just about every way I can think of and still can't get the menu to appear.
After looking at the behavior or the sidebar, it seems this theme isn't designed to have the menu opened at all times. The sidebar when displayed covers up the album text, comment window, login windows; anything that is on the page gets covered by the menu. So I'm thinking this isn't possible as it is.
Thanks for your help. I'll explore some other options.
Posts: 17
Other possible options depending on how your page is setup having the sidebar float:right; or have a margin setup for your albums (if that works for your layout)