• Is there any way to get rid of the right-most sidebar in Inspiration. I’ve tried getting rid of <?php get_sidebar(); ?> in my child theme index folder but that deletes both my sidebars and I do want to keep one. Is there any way I can do this?

    Thanks!

Viewing 15 replies - 1 through 15 (of 16 total)
  • Where is the link to the theme ?

    Thread Starter sandraholt

    (@sandraholt)

    Thread Starter sandraholt

    (@sandraholt)

    Sorry, I misunderstood… I can’t seem to find the link to the theme though… Let me search a little more.

    Thread Starter sandraholt

    (@sandraholt)

    It’s actually called inspriation theme. But every time I search for it on the WP themes page, I can’t pull it up.

    Ok, now.

    I looked inside your parent’s theme style.css and the author URI is a link to some car rental and hotel business, so it’s a bad sign, I would recommend NOT to use this theme.

    There are lots of theme in WP.org’s repository that offer look and feel similar to your current theme.

    To answer your question, you should look into the file named sidebar.php see if there is a call for sidebar2, just remove it.

    Thread Starter sandraholt

    (@sandraholt)

    Well… I’ve put too much time into this theme to back out now. I looked at the sidebar.php and I do not see a sidebar 2. Here is what I see:

    <div class=”wrap”>

    <?php if (!is_front_page()) : ?>

    <?php if ( is_active_sidebar( ‘inspiration’ ) ) : ?>

    <?php dynamic_sidebar( ‘inspiration’ ); ?>

    <?php else : ?>

    <div class=”sidebaritem”>
    <h3><?php _e(‘Bookmarks’, ‘inspiration’); ?></h3>

      <?php
      /**
      * only shown if widget sidebar not enabled
      */
      wp_list_bookmarks(‘title_li=& categorize=0&title_before=&title_after=’); ?>

    </div>
    <div class=”sidebaritem”>
    <h3><?php _e(‘Categories’, ‘inspiration’); ?></h3>

      <?php wp_list_categories(‘title_li=’); ?>

    </div>

    <div id=”search” class=”sidebaritem”>
    <label for=”s”><?php _e(‘Search:’, ‘inspiration’); ?></label>
    <form id=”searchform” method=”get” action=”<?php echo home_url(); ?>”>
    <div>
    <input type=”text” name=”s” id=”s” size=”15″ />
    <input id=”searchBtn” type=”submit” value=”<?php _e(‘Search’, ‘inspiration’); ?>” />
    </div>
    </form>
    </div>

    <div id=”archives” class=”sidebaritem”>
    <h3><?php _e(‘Archives:’, ‘inspiration’); ?></h3>

      <?php wp_get_archives(‘type=monthly’); ?>

    </div>

    <div id=”meta” class=”sidebaritem”>
    <h3><?php _e(‘Meta:’, ‘inspiration’); ?></h3>

    </div>
    <?php endif; ?>

    <?php endif; ?>

    </div>

    Posting big chunk of code is not allowed here, so next time you need to post big chunk of code you can use this http://wordpress.pastebin.ca/

    Right now, you have 2 widgets in your sidebar, am I right ?

    Thread Starter sandraholt

    (@sandraholt)

    Yes, although I just moved one to the sidebar I don’t want just so that it doesn’t look weird.

    Thanks for letting me know about posting big chunks of code. I didn’t know.

    The theme has only 1 sidebar, but by design, the sidebar’s area of the theme is spacious enough to fit 2 columns of widgets so it looks like there are 2 sidebars. (you can verify this by dragging 1 more widget into it, you will see that 3rd widget appears on the left side.)

    Now it should be easy to fix changing widths in CSS, but the problem is the theme uses grid system, it’s hard to change thing around. Also, you are using a theme that the author’s URI is pointing to some irrelevant business, I can’t see any reason to keep using this theme.

    Thread Starter sandraholt

    (@sandraholt)

    Okay, I understand. Even though it’s hard to change the width of the columns, I can still try to do it within css, right? Also, what does it mean the the author’s url is pointing to a business? I’m new to this so I don’t know what you mean.

    Look at the header section of your parent’s theme here.
    http://www.tealdresser.com/wp-content/themes/inspiration/style.css

    The Theme URI and Author URI is linking to a site that’s not relevant to WP or web development. it’s as if the domain had changed or hacked maybe ? whatever it is, it’s a bad sign because you won’t be able to contact the author of the theme for support and you have no way to know if the theme will be updated anymore.

    Thread Starter sandraholt

    (@sandraholt)

    I just clicked on the link you gave me and understand now what you mean. Thanks for the explanation.

    I will keep the theme for now but build another child theme *sigh*…

    In the meantime, since this is the last thing I would like to do to this site, can you tell me how to adjust the width of the columns?

    In your childtheme’s style.css add this

    #content.grid_6 {width:620px;}
    #sidebar.grid_6.omega.alignright {width:220px;margin:0 10px;}

    It will make your index(home)page look the same as your about page.

    Thread Starter sandraholt

    (@sandraholt)

    It worked, thanks! The only thing that I have left is that the sidebar 2 still says to add some widgets. I can’t find in the css file where it says that so that I can delete it. Am I looking in the wrong place?

    Thanks for your help!

    That is a text widget, isn’t it ?
    Look in the widget section and see if you have a text widget there.

    If not, add this (in addition to the above)

    #sidebar.grid_6.omega.alignright div.grid_3.omega{display:none;}
    #sidebar.grid_6.omega.alignright div.grid_3.alpha.omega{display:block;}
Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘How to get rid of only 1 sidebar in Inspiration Theme’ is closed to new replies.