Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: jswaby commentedlooks like this can be safely closed.