Artiseer Skin - Make the Center Panel Dynamically Expand

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
3/16/2010 8:10:33 PM
Gravatar
Total Posts 74

Artiseer Skin - Make the Center Panel Dynamically Expand

What is it in the artiseer-greenlagoon skin that makes the center content pane expand when there isn't any content to the right of it? I've compared all of the css files and can't find any obvious discrepancies. The art-content-narrow, art-content-wide, and art-sidebar 1 and 2 are all the same.

What shouls I be looking at? Is it controlled in stylemojo.css or style-artiseer-override.css?

Thanks,

Joe

3/16/2010 10:30:25 PM
Gravatar
Total Posts 2253

Re: Artiseer Skin - Make the Center Panel Dynamically Expand

Hi Joe,

This is actually controlled by the logic within mojoPortal itself. mojo determines if the right or left panes have any content, and if they do not, they are not rendered and the CSS class of the center pane is rendered as center-nomargins. I believe the equivalent in Artisteer is art-content-wide and the dominant rules for that selector is in the style-artisteer-overrides.css file.

HTH,
Joe D. 

3/17/2010 8:29:16 PM
Gravatar
Total Posts 74

Re: Artiseer Skin - Make the Center Panel Dynamically Expand

OK so I'm still getting beat up here by something I can't see. If I only have content in the center, the center pane expands perfectly. But if I add content to the right or left, not both, the center pane shrinks and leaves a bunch of white space on my page.

I uploaded 2 pictures of the scenario to flickr:

Center Content Only

Center and Right Content

How did I goof this up? The artiseer-green-lagoon skin works. And thats the one I used as my sample.

Thanks,

Joe

3/18/2010 1:46:53 PM
Gravatar
Total Posts 2253

Re: Artiseer Skin - Make the Center Panel Dynamically Expand

Hi Joe,

Is your site live? If so give me a link so I can take a look at it.

Thanks,
Joe D.

3/18/2010 5:27:22 PM
Gravatar
Total Posts 74

Re: Artiseer Skin - Make the Center Panel Dynamically Expand

I threw one together here:

http://joeparker.us/test.aspx

Thanks Joe!

3/18/2010 5:36:38 PM
Gravatar
Total Posts 2253

Re: Artiseer Skin - Make the Center Panel Dynamically Expand

Hi Joe,

It looks like you aren't including the style-artisteer-overrides.css in the style.config. Open the style.config file located in \data\sites\1\skins\downtown\ and add the following to it.

<file>style-artisteer-overrides.css</file>

HTH,
Joe D.

3/18/2010 5:47:01 PM
Gravatar
Total Posts 2253

Re: Artiseer Skin - Make the Center Panel Dynamically Expand

Hi Joe,

Actually, you have that file included. I'm sorry, I missed it.

The problem, I believe, is that the width in your .art-contentLayout .art-content selector in style.css is set to 499px. Set this to 755px. The style-artisteer-overrides.css file will set the width for the proper selectors when you use the left or right panes.

HTH,
Joe D.

3/18/2010 6:00:07 PM
Gravatar
Total Posts 74

Re: Artiseer Skin - Make the Center Panel Dynamically Expand

Joe D. you are officially my hero!

So the root cause of my troubles was that when I exported the Artiseer template, I exported it with 3 columns. So the style.css file reflected that by being set to 499. I'll keep that in mind in the future that I need to edit that.

Thanks!

Joe

You must sign in to post in the forums. This thread is closed to new posts.