Support » Theme: Twenty Twelve » left sidebar – move custom menu widget down

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    thank you, you’re a superstar!

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

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

    @fancy nancy This topic is under the Twenty Twelve support section please direct your queries to the iRibbon support section –

    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.

    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.

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

    Delete the sidebat_sql.php file once everything is done.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘left sidebar – move custom menu widget down’ is closed to new replies.