New sidebar.

  • Anonymous

    #259

    I was wondering if it’s possible to add a new sidebar to the left, so I can be running both the left and right sidebars?

    Thanks

    Justin

    #11763

    I was able to move things around and increased the size of the layout to make room for a left sidebar, but I still can’t figure out how to add one to the left.

    Am I able to add the sidebar with hooks? If so, any tips on how to use them, because I never have.

    Thanks

    Admin

    Syahir Hakim

    #11764

    Not at the moment, and I suspect I probably won’t be adding it in the future as well. This is because the content area of the theme is already small as it stands now with just one sidebar to the right. Adding another sidebar to the left will cause the content area to be squeezed further, and I don’t think many people would want that.

    Of course, the right sidebar and the container can both be resized to accommodate another sidebar to the left, but this will cause a lot of disruptions to existing theme users who have already adjusted their sidebar items to fit just nicely in the current sidebar.

    Of course, you can do the modifications yourself using a child theme and resize them to your heart’s content.

    Justin

    #11765

    Thanks for the reply, Syahir. This is a friendly bump because we kind of posted at the same time, and I’m hoping you didn’t miss my 2nd post. :p

    Admin

    Syahir Hakim

    #11766

    Yep, I just noticed that 😀

    In the header.php file, just add this code at line 118 (assuming you’re using version 1.1.2):

    <?php do_action('graphene_before_content-main'); ?>

    You can then use that action hook to add your new sidebar.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.