Sidebar on Carbon Theme

egradek

Joined: 2008-12-21
Posts: 6
Posted: Thu, 2008-12-25 19:59

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

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2008-12-25 20:46

themes/carbon/templates/sidebar.tpl
position:absolute; left:-190px;

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
egradek

Joined: 2008-12-21
Posts: 6
Posted: Thu, 2008-12-25 21:52

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>

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2008-12-25 23:26

My point was that it is already negative 190 - offscreen.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
egradek

Joined: 2008-12-21
Posts: 6
Posted: Fri, 2008-12-26 03:29

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.

 
bw83

Joined: 2008-12-25
Posts: 17
Posted: Sat, 2008-12-27 15:11

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)