WordPress.org

Support

Support » How-To and Troubleshooting » Quick question about theme '2011'

Quick question about theme '2011'

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi roppolo,

    Create a Child Theme first:

    http://codex.wordpress.org/Child_Themes

    Then in the Child Theme’s style sheet look for this:

    /* Search Form */
    #branding #searchform {
    	position: absolute;
    	top: 3.8em;
    	right: 7.6%;
    	text-align: right;

    Add this just below that last line:

    display: none;

    So the code now looks like:

    /* Search Form */
    #branding #searchform {
    	position: absolute;
    	top: 3.8em;
    	right: 7.6%;
    	text-align: right;
    	display: none;

    Hope this helps!

    LOL that’s the easy way?

    That is one way of doing it. The second would be going in and dropping an empty text widget in. Or by clicking on:

    1. Appearance — Editor.
    2. Going to sidebar.php
    3. Find the code that has search.
    4. Delete it.
    5. Save.

    I dont see it in sidebar.php, Brett… am I missing it?

    <?php
    /**
     * The Sidebar containing the main widget area.
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
     */
    
    $options = twentyeleven_get_theme_options();
    $current_layout = $options['theme_layout'];
    
    if ( 'content' != $current_layout ) :
    ?>
    		<div id="secondary" class="widget-area" role="complementary">
    			<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
    
    				<aside id="archives" class="widget">
    					<h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3>
    
    <ul>
    						<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
    					</ul>
    				</aside>
    
    				<aside id="meta" class="widget">
    					<h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3>
    
    <ul>
    						<?php wp_register(); ?>
    
    <li><?php wp_loginout(); ?></li>
    						<?php wp_meta(); ?>
    					</ul>
    				</aside>
    
    			<?php endif; // end sidebar widget area ?>
    		</div><!-- #secondary .widget-area -->
    <?php endif; ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Quick question about theme '2011'’ is closed to new replies.