Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sidebars
#8
Yeah you're right, Zegnåt.

A better solution would be enclosing the entire sidebar div in an if, like:
Code:
<?php if (return_page_slug()=='index') { ?>
    <div id="sidebar">
        <div class="featured">
            <?php get_component('sidebar');    ?>
            <div class="clear"></div>
        </div>
    </div><!-- end div#sidebar -->
    <?php } ?>

(Inserted first and last lines)

Anyway, it's not perfect. Something should also be done about the content's fixed width... (at least with GS's default theme)
Reply


Messages In This Thread
Sidebars - by schluters - 2010-09-24, 00:22:47
Sidebars - by spring - 2010-09-24, 00:31:46
Sidebars - by schluters - 2010-09-24, 01:49:07
Sidebars - by Zegnåt - 2010-09-24, 03:11:29
Sidebars - by schluters - 2010-09-24, 04:03:09
Sidebars - by Carlos - 2010-09-24, 04:31:06
Sidebars - by Zegnåt - 2010-09-24, 05:29:18
Sidebars - by Carlos - 2010-09-26, 18:48:30



Users browsing this thread: 1 Guest(s)