Moving homepage panes to sidebar

  • rk


    Hi, Syahir. I just wanna say that I really enjoy using Graphene. Although I’m a fairly new blogger, I have found Graphene to be very distinct and highly-customizable.

    I have just one question. Right now I’m displaying 4 panes on my homepage. How do I move 2 of them to the sidebar so they sort of “wrap around” the slider and my ‘message from the author’ page?

    My coding knowledge is very limited, but I’m willing to learn if anyone is willing to show me the ropes. 🙂

    Also, I’m sorry if this question have already came up before in this forum.




    Syahir Hakim


    Hurm…I don’t think there’s an easy way to do that..

    One hack would be to install the PHP Code Widget plugin, then go to Appearance > Widgets, and insert this into the PHP Code Widget widget:

    <?php graphene_display_homepage_panes(); ?>

    That will display the same 4 homepage panes as the bottom ones. Use CSS to hide the first two, and modify the sizes and whatnot to fit in the sidebar.



    Hi. Thanks for replying, Syahir. Somehow I knew this isnt gonna be easy. xD

    I’ve managed to apply the first two steps and getting all 4 homepage panes into my sidebar in addition to their original position. Thank you for that.

    Now, I’m assuming I have to modify sidebar.php to adjust the sidebar width? How do I hide the panes? What code do i use?

    Prolly too many questions, huh? 🙁


    Kenneth John Odle


    Halfway there…

    I’m assuming I have to modify sidebar.php to adjust the sidebar width?

    Nope, you change it with CSS. See this post:


    Syahir Hakim


    You would probably want to change the width of the panes in the sidebar instead of increasing the sidebar width itself. That way you’ll have less elements to change size.



    Okay, here goes. I’ve been reading a lot into CSS and creating a child theme. Guess I gotta learn these things at some point. Its going slow, but at least I’m learning.

    Syahir and Kenneth, thanks so much for pointing me in the right direction. I’ll post more questions if I stumble upon any problems.

    Again, thank you for this wonderful theme!


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

  • You must be logged in to reply to this topic.