WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] left sidebar - move custom menu widget down (5 posts)

  1. odrum
    Member
    Posted 7 months ago #

    i need to move the left custom menu down to line up with the page title and content in the right sidebar.

    I have added custom css to move the right (image in widget) sidebar down, but can't see/find/work out how to move the custom menu on the left.

    Really appreciate some help asap :)
    Thanks, M

    http://217.199.187.57/northlondonhospice.org/about-north-london-hospice/history/

  2. Jesin A
    Member
    Posted 7 months ago #

    Try this code

    #sidebar-left {
      margin-top: 50px;
    }

    There is an empty "Text Widget" on the right sidebar. Once you remove it both will be aligned equally.

    You're using the Twenty Eleven theme but you've posted in the Twenty Twelve support forum.

  3. odrum
    Member
    Posted 7 months ago #

    thank you, you're a superstar!

    And i am an idiot posting in the wrong forum in a frustrated headspin ;)

  4. Fancy nancy
    Member
    Posted 3 months ago #

    I have created fancynancysart.com and My left side widget is not showing. how do I get it to show up .

  5. Jesin A
    Member
    Posted 3 months ago #

    @Fancy nancy This topic is under the Twenty Twelve support section please direct your queries to the iRibbon support section - http://wordpress.org/support/theme/iribbon

    This theme doesn't seem to have an option in the admin panel to enable the left sidebar so this has to be done by editing the database. Before you do anything take a backup of your WordPress database.

    Then create a file named sidebar_sql.php inside the directory containing WordPress's index.php and wp-config.php files with the following code.

    <?php
    require_once 'wp-config.php';
    $connect = mysql_connect( DB_HOST, DB_USER, DB_PASSWORD );
    mysql_select_db( DB_NAME, $connect );
    $query = mysql_query( "SELECT option_value FROM " . $table_prefix . "options WHERE option_name = 'cyberchimps_options'", $connect );
    while( $result = mysql_fetch_array( $query ) ) {
    	$options = $result;
    }
    $cyberchimps_options = unserialize( $options[0] );
    $cyberchimps_options['sidebar_images'] = 'left_sidebar';
    $cyberchimps_options['single_post_sidebar_options'] = 'left_sidebar';
    $cyberchimps_options['archive_sidebar_options'] = 'left_sidebar';
    $cyberchimps_options['search_sidebar_options '] = 'left_sidebar';
    $cyberchimps_options = serialize( $cyberchimps_options );
    $query = mysql_query( "UPDATE " . $table_prefix . "options SET option_value = '$cyberchimps_options' WHERE option_name = 'cyberchimps_options'", $connect );
    if( $query )
    	echo "Success";
    ?>

    Access this file on the browser like this.

    http://fancynancysart.com/sidebar_sql.php

    It should display "Success", now check if the left sidebar appears.

    Delete the sidebat_sql.php file once everything is done.

Reply

You must log in to post.

About this Theme

About this Topic