WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Addin a new sidebar to the left - genesis theme (6 posts)

  1. brendanvotano
    Member
    Posted 3 years ago #

    Hi

    I have designed a site around the genesis theme for a client and the site is all marked up and looking as it should.
    The current theme has the main content on the left and sidebar on the right.
    The client has just come to me asking to put a sidebar onto the lefthand side of the main content to go along with the existing sidebar on the right.
    I have tried adding new sidebars via php and playing with the css but to no avail.
    If anyone can help me with this, I would be greatly appreciative.
    Thanks

    The site is: cornerstonemedia.com.au (skip the opening videos)
    The desired outcome is http://www.cornerstonemedia.com.au/layout.jpg

  2. Jeremy Pry
    Member
    Posted 3 years ago #

    Did you change the layout settings in the Genesis theme settings in the Admin page? You would have to select the Sidebar-Content-Sidebar setting. Otherwise, the "secondary" sidebar won't show up.

    If you DO have that set already, then check the page-specific settings by editing the page. Genesis adds a layout selection option at the bottom.

  3. brendanvotano
    Member
    Posted 3 years ago #

    I had a look there and there is no option for sidebar settings.

    I forgot to add that the theme is made from genesis template but is modified a bit. The original is here:
    http://themeforest.net/item/genesis-business-and-portfolio-wordpress-theme/162008

    Thanks

  4. Jeremy Pry
    Member
    Posted 3 years ago #

    Ah, my apologies. I was thinking you were using the Genesis theme from studiopress.com. I'm not familiar with the theme you're using.

  5. Jeremy Pry
    Member
    Posted 3 years ago #

    It looks like you managed to get the sidebar up. What did you need to do to add it in?

  6. brendanvotano
    Member
    Posted 3 years ago #

    Yeah, I did finally manage to get it to work!

    In the end it was so simple that I could kill myself cying.
    It was done as I had originally thought, by adding another sidebar div to the php and css as I has originally.
    What I had kept doing was modifying the index.php to try and add it thinking it was the primary page that wordpress calls when loading a site. This is NOT the case.
    The heirachy of page calls in wordpress places index.php 4th in the order that it reads and that page.php is the primary homepage call and will fall back to index.php if there is no page.php, then something else.php found in the directory.

    So if you need to do any modifications to your site div wise, page.php is where it should be done and not index.php

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic