How to Make Room for New Sidebar? (6 posts)

  1. agfreesafety
    Posted 5 years ago #

    I've created a new sidebar for my theme for my site that shows up when I'm looking at my widgets from within wordpress.

    It's been brought to my attention that I will need to create space for the second side bar by modifying the code to make room for the new sidebar. I'd like for the second side bar to show on the right side of the screen, opposite the existing one, that's on the left.

    My questions:
    1. Do the modifications need to be made in the index.php file?
    2. How hard of a task is this to accomplish? I have an I.T. background, but coding really isn't my thing. But if it's fairly simple, I can do it with some direction.
    3. If it can be explained, would you please give me some suggestions on how to move forward with making this change?

  2. lockettpots
    Posted 5 years ago #

    As it happens I'm in the process of developing a 3 column version of the screwdriver theme. If you are interested you can contact me through the contact form on http://www.monakmore.co.uk

    All advice and help is free :)


  3. agfreesafety
    Posted 5 years ago #

    I just left a message there. Thanks

  4. janustudios
    Posted 5 years ago #

    Do you have a space left for extra sidebar which you want else you will need to extra space for sidebar via few html n css tweaks then u can implement your sidebar code simple and then manage it via widgets....

  5. agfreesafety
    Posted 5 years ago #

    Hi Rock,

    My theme as it is does NOT have space for the extra sidebar. My purpose for creating this thread on this forum was to gain some insight into how to create that space, and how to ultimately code my site so that it knows to place the newly added sidebar in that space, once it's created.


  6. esmi
    Forum Moderator
    Posted 5 years ago #

    You will need to add a call to the new sidebar to every template file that you want to be 3-column - eg index.php, category.php, single.php, tag.php etc etc.

    You'll also have to start making CSS changes - specifically either reduce the width of your main content area or expand the entire page area so that there's room for the new sidebar. You may also have to float the new sidebar right or float the main content area left. All in all, not a simple task and not one that you can get step-by-step instructions for on a forum - but hopefully that will get you started.

Topic Closed

This topic has been closed to new replies.

About this Topic