Closed (fixed)
Project:
Dreamy
Version:
6.x-1.2
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 May 2008 at 05:15 UTC
Updated:
6 Jun 2008 at 16:39 UTC
First, I want to say that I love the theme. I'm still somewhat new to css and was wondering if there is a way to expand the ain content when both sidebars are empty?
Comments
Comment #1
jswaby commentedGlad to hear you like the theme.
As for your question, you could add in some PHP and CSS to check if there is a sidebar coming in. If there isn't any sidebar, include some embedded CSS. I just did a small firebug test and got this.
This code would need to be placed somewhere in the head tags after the $style tag sections.
As for the checking code, it'll be some php code that is wrapped in an if statement..
something like
http://www.w3schools.com/php/php_if_else.asp
That should be everything you need. Hope that helps.
Comment #2
jswaby commentedlooks like this can be safely closed.