WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove entire search box in Berita theme (4 posts)

  1. Ailujjj
    Member
    Posted 4 years ago #

    I am trying to remove the Search Box in full.

    You can view it here : http://bizzartic.com/bizzthemes/berita/

    I have managed to remove the coloured border and image, and changed the colour of the word "search" to the background. However, I can't get rid of
    a) the white box/field
    b) the word "search"

    Where and how should I be trying to eliminate these?

  2. alchymyth
    Forum Moderator
    Posted 4 years ago #

    unless you edit the php files, i.e. header.php, and delete the searchform part there, you could use a css trick:
    add this at the end of style.css:
    #searchform {display:none;}

  3. flsunshine
    Member
    Posted 4 years ago #

    Find this code in the header.php file and delete it.

    <div class="grid_4" id="search-spot">
    
    			<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/" class="search-form">
    
    			    <input type="text" value="<?php echo get_option('bizzthemes_search_name'); ?>" name="s" id="s" class="field" onfocus="if (this.value == '<?php echo get_option('bizzthemes_search_name'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php echo get_option('bizzthemes_search_name'); ?>';}" />
    
    			    <button class="search-btn" type="submit" name="submit"><!----></button>
    
    			</form>
    
    		</div><!--/search-spot-->
  4. Ailujjj
    Member
    Posted 4 years ago #

    Great, thanks for your help! I removed the related code in the header.php file and it is all gone :)

Topic Closed

This topic has been closed to new replies.

About this Topic