Forums

Changing header and removing search button (10 posts)

  1. grantheston
    Member
    Posted 1 year ago #

    I'd like to remove the search button and rss button from the header on my blog. I'd also like the background to be red except for the logo. I had a different version of the logo up and it was red. Not it put a white square around it. Thanks in advance for any help!

    http://www.granthestonfitness.com/blog

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    To remove the search form, try editing your theme's header.php file and removing <?php get_search_form();?>. You shoulkd be able to remove the RSS image by deleting:

    <a href="<?php bloginfo('rss2_url'); ?>"><img height="33" width="55" id="rss-button" alt="RSS Feed" src="<?php bloginfo('template_directory'); ?>/images/transparent.gif"></a>

    I'd also like the background to be red except for the logo.

    The background of what?

  3. grantheston
    Member
    Posted 1 year ago #

    That took care of the rss button. However, I don't see the code you're referring to anywhere in the header sheet to remove the search form. I want the background to be totally red except for the logo. It was that way but I uploaded a higher resolution image of the logo and it has that white box around it now. Thanks again!

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    The search code might be in your theme's functions.php file (assuming you haven't added it via Appearance -> Widgets).

    With regard to your header color and logo image, your header is still red. It's your logo image that's adding the white background.

  5. grantheston
    Member
    Posted 1 year ago #

    Okay, I'll fix the logo in Photoshop or something. I still don't see the code under the functions.php file either though. I'm using the Redbel theme if that makes any difference.

  6. washie
    Member
    Posted 1 year ago #

    Click Sidebar.php

    Remove this!:

  7. <h2>Meta</h2>
      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
  • grantheston
    Member
    Posted 1 year ago #

    I changed the logo and got it to look the way I want it. Now I just need to get rid of the search bar. Thanks again for any help you can give me!

  • grantheston
    Member
    Posted 1 year ago #

    That code is not in the sidebar.php file either.

  • grantheston
    Member
    Posted 1 year ago #

    Any other thoughts?

  • Shayne
    Member
    Posted 1 year ago #

    It looks like the search code should be in header.php but if you want to click my name and send me a login, I'll gladly take a look for you.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.