WordPress.org

Ready to get started?Download WordPress

Forums

Fruitful
[resolved] Add Search box in header top corner (4 posts)

  1. archiechan
    Member
    Posted 1 month ago #

    Hi there, how can I add the search box in the header on top corner?

    I've tried add the the code below into "Theme Option", "Custom CSS", but it doesn't work. Any better idea? Many thanks.

    #masthead form {
    float: right;
    margin-top: 15px;
    }
  2. ellp
    Member
    Posted 1 month ago #

    Hello Archie!

    Can you provide you site url?

    Thanks!

  3. archiechan
    Member
    Posted 1 month ago #

    Hi Ellp,

    Thanks, just solve it.

    I am using Fruitful Theme,

    Just add <div><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>
    in header.php

    And add #searchform {position:absolute; top: 25px; right: 10px; text-align:right;}
    in Style.css.

    Work perfectly.

  4. archiechan
    Member
    Posted 1 month ago #

    And this is solved. Thanks

Reply

You must log in to post.

About this Theme

About this Topic